Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynamoRIO
  • dynamorio
  • Issues
  • #344
Closed
Open
Issue created Nov 28, 2014 by Derek Bruening@derekbrueningContributor

Incorrect disassembly for indirect call using -syntax_intel

From [email protected] on September 19, 2010 19:45:38

What version of DynamoRIO are you using? 2.0.0.6 What operating system version are you running on? Windows XP SP3

Steps to reproduce the problem:

Build this code as a standalone app and run with -syntax_intel:

----8<-------8<-------------

#include "dr_api.h"

int main(int argc, char *argv[]) { file_t f; byte *code = "\xff\x15\x3c\x10\x00\x01"; void *drcontext = dr_standalone_init();

f = dr_open_file("c:\out.txt", DR_FILE_WRITE_OVERWRITE); disassemble_with_info(drcontext, code, f, true, true); dr_close_file(f); return 0; }

----8<-------8<-------------

c:\out.txt will contain something like:

0x0040b004 ff 15 3c 10 00 01 call

Note that there is no operand. I'd expect the output to look more like this:

0x0040b004 ff 15 3c 10 00 01 call dword ptr ds:[0x0100013c]

Original issue: http://code.google.com/p/dynamorio/issues/detail?id=344

Assignee
Assign to
Time tracking