Project

General

Profile

Actions

Feature #3317

closed

dis(1) should support cross-target disassembly

Added by Joshua M. Clulow about 11 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Category:
cmd - userland programs
Start date:
2012-10-28
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

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.

Actions #1

Updated by Electric Monk almost 9 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit f7184619589931c4b827180c213074c470f08a8f

commit  f7184619589931c4b827180c213074c470f08a8f
Author: Joshua M. Clulow <josh@sysmgr.org>
Date:   2015-01-24T03:17:34.000Z

    3317 dis(1) should support cross-target disassembly
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
    Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
    Approved by: Dan McDonald <danmcd@omniti.com>

Actions

Also available in: Atom PDF