angr / angr-doc

Documentation for the angr suite
https://docs.angr.io/
BSD 2-Clause "Simplified" License
837 stars 378 forks source link

Update solve.py of java_androidnative1 #416

Closed wr-web closed 2 years ago

wr-web commented 2 years ago

If auto_load_lib=False,my wsl2 won't load native-lib.so .And self.project.loader.initial_load_objects injavavm.py will be [<Apk Object androidnative1.apk, maps [0x0:0x1]>]. image After I changed auto_load_lib to True. native-lib.so was loaded correctly.self.project.loader.initial_load_objects in javavm.py will be [<Apk Object androidnative1.apk, maps [0x0:0x1]>, <ELF Object libnative-lib.so, maps [0x100000:0x13338b]>, <ExternObject Object cle##externs, maps [0x200000:0x2000e8]>]. For more information you can take a look at loader.py:694 while self._auto_load_libs and dependencies:

twizmwazin commented 2 years ago

If this is the intended behavior of the example, we should update the test case to verify this, as the test case seems to have been passing in CI even with auto_load_libs being disabled.

wr-web commented 2 years ago

If this is the intended behavior of the example, we should update the test case to verify this, as the test case seems to have been passing in CI even with auto_load_libs being disabled.

I can't understand where the native-lib.so was loaded in code with auto_load_lib disabled.

github-actions[bot] commented 2 years ago

This pull request has been marked as stale because it has no recent activity. Please comment or add the pinned tag to prevent this issue from being closed.