Navigation Menu

Skip to content

struct/frasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

frasm is a Ruby binding for Distorm64 v1.7.30 written by Gil Dabah [http://ragestorm.net/distorm/]

The frasm binding was originally written by Tom Ptacek and has since been updated by Chris Rohlf

frasm requires you have built and installed libdistorm

Distorm comes with pystorm by default so when you create distorm64.{so,bundle,dll} be sure to compile like so:
'make clib' otherwise ruby will throw an error due to undefined python symbols

---------------
Compiling Frasm
---------------
cd src/

ruby extconf.rb

make

The directories linux/ osx/ and win32 also have manually created Makefiles if extconf.rb fails you

-------------------
Example frasm usage
-------------------

require 'frasm'

d = Frasm::DistormDecoder.new

d.decode("ABCDEFGHIJKLMNOPQRSTUVWXYZ").each do |l|
    puts "#{l.mnem} #{l.size} #{l.offset} #{l.raw}"
end

About

Ruby bindings for distorm64

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published