redballoonsecurity / ofrak

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

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

Closed alchzh closed 3 months ago

alchzh commented 3 months 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 3 months ago
Screenshot 2024-07-17 at 3 47 51 PM

😌