-
Notifications
You must be signed in to change notification settings - Fork 82
Closed
Labels
Description
Description
Running on python 3.13.1 (MacOS Apple Silicon)
Seems like the SpecialMem class that is defined in rop_utils.py:make_initial_state causes the call to find_gadgets() fail.
The root cause is that the multiprocessing Pool uses ForkingPickler (pickle) which cannot serialize non top-level classes.
Suggested resolution:
Move SpecialMem class definition to the global scope, this solved the issue for me.
Steps to reproduce the bug
No response
Environment
No response
Additional context
No response