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 7 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit f7184619589931c4b827180c213074c470f08a8f Author: Joshua M. Clulow <email@example.com> Date: 2015-01-24T03:17:34.000Z 3317 dis(1) should support cross-target disassembly Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Reviewed by: Joshua M. Clulow <email@example.com> Reviewed by: Josef 'Jeff' Sipek <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>