Development notes:
rvm current
to find out which rvm- Make sure gems are being installed at
/Users/USERNAME/.rvm/gems/ruby-2.X.Y/gems
- Make sure you have libelf
brew install libelf
- Make whatever code changes
- To test, run this (but change ruby-2.5.1 to your ruby version!!!)
rm atoslife-0.0.40.gem ; rm -rf /Users/schukin/.rvm/gems/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/atoslife-0.0.40 ; gem build atoslife.gemspec ; gem install atoslife-0.0.40.gem ; ruby ./test.rb
atosl is used for converting binary addresses within a macho file to symbols for Linux platform.
Add this line to your application's Gemfile:
gem 'atosl'
And then execute:
$ bundle
Or install it yourself as:
$ gem install atosl
Usage: atosl --arch architecture -o executable -a [address,address,...]
atosl --arch armv7s -o ~/res/CrashTest3Dwarf.thin -a 0x0000b1e7,0x123123
For easy & quick debugging, get rake-compiler to build for local installation.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request