Open maximumspatium opened 6 years ago
Well, it looks like the structure of the ELF loader in ScratchABit already resembles the IDA loader API. It's difficult to say whether a true IDA API is required or not because I'm currently not aware of any real-world IDAPython loader.
Quoting the README:
Loader plugins would be highly appreciated. The problem is that Python loaders are hard to find. The existing loaders, covering widespread binary executable formats, are usually written in C++ so they need to be ported to IDAPython first. Fortunately, stand-alone Python libraries for parsing several common executable formats exist:
Creating basic loader plugins ontop of them should be easy. The existing pyelftools based ELF loader serves as a good example of how to do that. The first step is to enable support for loader plugins in ScratchABit...