You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment there are still quite a lot of redundant code that we can trim away. Feel free to comment on this issue when you find things that can be deleted.
The text was updated successfully, but these errors were encountered:
I've been looking into this, there are a couple of relatively easy targets (eg. MachO and COFF writers which are irrelevant because keystone only uses a patched up version of the ELF writer which in turn makes all code dealing with the ObjectFormat part of Triple redundant).
There are also some harder targets such as debug info generation (DWARF/CodeView output and code dealing with call frame information and exception handling code) that's pretty much weaved into the rest of the code. Removing those would mean quite a few directives stop working which never made sense in the context of keystone in the first place (things like .loc).
Having all that out of the way opens paths for further code reduction such as the file handling (unless you want to maintain compatibility with the .include directive), getting rid of ELF section management (since keystone only cares about .text anyway.
At the moment there are still quite a lot of redundant code that we can trim away. Feel free to comment on this issue when you find things that can be deleted.
The text was updated successfully, but these errors were encountered: