Skip to content

adapting to distorm 3.3 - instructions #1

@rpeleg1970

Description

@rpeleg1970

Hello,

I fetched and updated to run with distorm 3.3. Will also make a fork/pull-request but here it is in a nutshell:

  1. copy the .h files from distorm/src to frasm/src. Also copy distorm/include directory into frasm/
  2. In frasm.c fix:
    • 'pos' in _wstring was renamed to 'length'
    • 'internal_decode' was renamed to 'distorm_decode'
    • change 'RSTRING(buf)→len' to 'RSTRING_LEN(buf)' (ruby.h changes)
    • change 'RSTRING(buf)→ptr' to 'RSTRING_PTR(buf)' (ruby.h changes)

Building is as described in the README file, make sure you run 'make install'
This was tested on a 10.7.5 Mac

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions