Skip to content

Commit

Permalink
Improve indent
Browse files Browse the repository at this point in the history
  • Loading branch information
dmknght committed Oct 13, 2024
1 parent c2528be commit 9f3963e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine/scan_userland_hook.nim
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ char *rk_hook_find_hijack_func() {
char *symb_name;
char *COMMON_FUNCTIONS[] = {"rename", "renameat", "stat", "stat64", "fstat", "fstat64", "lstat", "lstat64",
"__lxstat", "__lxstat64", "__fxstat", "__fxstat64", "__xstat", "__xstat64", "access", "unlink", "strstr" ,
"fgets", "fopen", "fopen64", "open", "opendir", "opendir64", "readdir", "readdir64", "unlinkat", NULL};
"__lxstat", "__lxstat64", "__fxstat", "__fxstat64", "__xstat", "__xstat64", "access", "unlink", "strstr" ,
"fgets", "fopen", "fopen64", "open", "opendir", "opendir64", "readdir", "readdir64", "unlinkat", NULL};
int i = 0;
while (symb_name = COMMON_FUNCTIONS[i++])
Expand Down

0 comments on commit 9f3963e

Please sign in to comment.