dis(1) should support cross-target disassembly
Presently dis(1) will only disassemble instructions in ELF binaries of the native machine type. A selection of flags are already chosen by dis based on the ELF headers in the target binary. The backend disassembly library (libdisasm) should be refactored to allow the code for all supported architectures to co-exist in one binary.
NB: A standalone version of libdisasm is built for use by kmdb(1). The standalone version needs to retain its existing small footprint and thus should only include native machine disassembly support.
Updated by Electric Monk over 5 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit f7184619589931c4b827180c213074c470f08a8f Author: Joshua M. Clulow <firstname.lastname@example.org> Date: 2015-01-24T03:17:34.000Z 3317 dis(1) should support cross-target disassembly Reviewed by: Robert Mustacchi <email@example.com> Reviewed by: Joshua M. Clulow <firstname.lastname@example.org> Reviewed by: Josef 'Jeff' Sipek <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>