The easiest way (using partially Ghidra) to extract the e_program header section into a separate binary,was to select the whole region, and use Copy Special -> Byte String on the context menu, paste itinto a temporary file, or directly into something like CyberChef, choose the From Hex recipe, anddownload the decoded bin. Of course it is possible to cut out the relevant bytes using command line tools,but this time I wanted to check if there was a feasible way of doing it with Ghidra. It would be nice ifGhidra had a way to export a section directly as raw, verbatim bytes, or even better, re-import it intothe project as a separate file.
8086 disassembler download recipe
2ff7e9595c
Comments