redballoonsecurity / ofrak

OFRAK: unpack, modify, and repack binaries.
https://ofrak.com
Other
1.85k stars 126 forks source link

Return to using `ctypes` for entropy calculation (partially reverts #150) #483

Closed alchzh closed 1 month ago

alchzh commented 1 month ago

Partially reverted #150 so entropy C code is called with ctypes again, but maintaining the current API and automatic compilation by setup.py.

Please describe the changes in your request.

Extends setuptools build_ext command to add a .1 to the end of extensions marked with ctypes to match the old behavior. Not sure if this modification is still needed.

Anyone you think should look at this, specifically?

@jstrieb

alchzh commented 1 month ago
Screenshot 2024-07-17 at 3 47 51 PM

😌