Support skipping syscall logging

This commit is contained in:
momo5502
2025-12-22 16:13:58 +01:00
parent 66cfe980d7
commit 5ebf2dfd81
3 changed files with 15 additions and 6 deletions

View File

@@ -650,6 +650,7 @@ namespace
printf(" -p, --path <src> <dst> Map Windows path to host path\n");
printf(" -r, --registry <path> Set registry path (default: ./registry)\n\n");
printf(" -is, --inst-summary Print a summary of executed instructions of the analyzed modules\n");
printf(" -ss, --skip-syscalls Skip the logging of regular syscalls\n");
printf("Examples:\n");
printf(" analyzer -v -e path/to/root myapp.exe\n");
printf(" analyzer -e path/to/root -p c:/analysis-sample.exe /path/to/sample.exe c:/analysis-sample.exe\n");
@@ -706,6 +707,10 @@ namespace
{
options.instruction_summary = true;
}
else if (arg == "-ss" || arg == "--skip-syscalls")
{
options.skip_syscalls = true;
}
else if (arg == "-m" || arg == "--module")
{
if (args.size() < 2)