You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The analysis starts with the function process_file.
If the path provided is a directory with the flag -R the result is that nothing is processed when the execution reach line 1106 of engine.c
if(S_ISDIR(fstat.st_mode)) {
/* Need to error catch here.*/
if( flags & RECURSIVE_FILE_SCAN ) {
process_directory(filename,forcelang);
return;
}
}
S_ISDIR will return true for the root folder where the analysis was requested but the flag will tell to not do a recursive scan (not even on the root) so all is skipped and the if at line 1114 will terminate the process printing NOT REGULAR FILE.
The text was updated successfully, but these errors were encountered:
The analysis starts with the function process_file.
If the path provided is a directory with the flag -R the result is that nothing is processed when the execution reach line 1106 of engine.c
if(S_ISDIR(fstat.st_mode)) {
/* Need to error catch here.*/
if( flags & RECURSIVE_FILE_SCAN ) {
process_directory(filename,forcelang);
return;
}
}
S_ISDIR will return true for the root folder where the analysis was requested but the flag will tell to not do a recursive scan (not even on the root) so all is skipped and the if at line 1114 will terminate the process printing NOT REGULAR FILE.
The text was updated successfully, but these errors were encountered: