Skip to content

Commit

Permalink
fixed Perfare#25
Browse files Browse the repository at this point in the history
  • Loading branch information
Perfare committed Aug 10, 2021
1 parent 2dd6b1f commit 96192ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions module/src/main/cpp/il2cpp_dump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ uint64_t get_module_base(const char *module_name) {
strcpy(path, "");
sscanf(line, "%" PRIx64"-%" PRIx64" %s %*" PRIx64" %*x:%*x %*u %s\n", &start, &end,
flags, path);
#if defined(__aarch64__)
if (strstr(flags, "x") == 0) //TODO
continue;
#endif
if (strstr(path, module_name)) {
addr = start;
break;
Expand Down

0 comments on commit 96192ea

Please sign in to comment.