Looking for information/sample code to disassemle ELF files
Looking for information/sample code to disassemle ELF files
I'm writing my own PS2DIS type editor in C (under Windows), and I can't find any decent documentation on the structure of the ELF itself. I've got details on the header info, but I don't know exactly how to parse it all (or order to parse it) to read the file into structs/arrays then write it all back to rebuild the file. Considering the file format itself is used on linux, you'd think there'd be some source code floating around to do this part.