Project

General

Profile

Actions

Bug #6069

closed

libdisasm: instrlen arch op should have a sane default

Added by Josef Sipek almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2015-07-20
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

Instead of forcing every architecture backend to implement a "how long is this instruction" function, provide a sane (although possibly sub-optimal) default. The current x86 implementation of this function is very generic, so we can use that.

Actions #1

Updated by Electric Monk over 7 years ago

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

git commit cfc41e72a4f85ff48430f435531264fca458f55d

commit  cfc41e72a4f85ff48430f435531264fca458f55d
Author: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Date:   2015-11-09T21:56:23.000Z

    6069 libdisasm: instrlen arch op should have a sane default
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Actions

Also available in: Atom PDF