Comments (2)
aa != -A
Use aaa
On 04 Jan 2016, at 03:35, Nick Hoffman [email protected] wrote:
I'm not sure if this is the appropriate place for this issue, however I'm getting inconsistent results when using the Ruby r2pipe gem vs Radare2
For reference, the binary that I'm looking at is MD5: 5896d840a314e8bc86ceadb5a6450cf8
When using Radare2, I'm able to see the full list of functions, below is a snippet
:
> radare2 -A 5896d840a314e8bc86ceadb5a6450cf8?
-- Your project name should contain an uppercase letter, 8 vowels, some numbers, and the first 5 numbers of your private bitcoin key
[0x0040508e]> afl
152
[0x0040508e]> afl
0x0040508e 235 6 entry0
0x00404740 82 4 fcn00404740
0x00401500 83 1 subKERNEL32dll_GetTempPathA_500
0x00404a86 19 1 fcn00404a86
0x00404a66 32 3 fcn00404a66
snipped
When using the Ruby API, the following information is returned:
> irb?')
irb(main):001:0> require 'r2pipe'
=> true
irb(main):002:0> r2p = R2Pipenew("5896d840a314e8bc86ceadb5a6450cf8")
=> #<R2Pipe:0x00000000e022c0 @file="5896d840a314e8bc86ceadb5a6450cf8", @READ=#File:/dev/pts/2, @Write=#File:/dev/pts/2, @pid=6861>
irb(main):003:0> r2pcmd('aa')
=> ""
irb(main):004:0> r2pcmd('afl
=> "1\r\n"
irb(main):005:0> r2pcmd('afl')
=> "0x0040508e 235 6 entry0\r\n"
Is there a reason that r2pipe is only seeing 1 function listed versus the 152 recognized by Radare2?Thank you for your time
—
Reply to this email directly or view it on GitHub.
from radare2-bindings.
Ha! Looks like a case of user error! Thanks for the reference.
from radare2-bindings.
Related Issues (20)
- Error installation cannot find -lvalaccodegen HOT 12
- Error with Java binding HOT 1
- error: use of undeclared identifier 'r_cons_html_print'; did you mean 'RCons_html_print' HOT 1
- Separate `libr/lang` plugins into another repository HOT 9
- test-py-io.py example segfaults: invalid io->desc->plugin HOT 17
- Python bindings are not building HOT 1
- Python build failing HOT 1
- vala compiler git repo changed HOT 1
- g
- Duktape bindings build fail
- c2hs include hardcoded
- `r_print.h` not found. HOT 3
- Retiring bindings HOT 1
- Upgrade to latest SWIG 4.0 HOT 1
- Rework C Example file HOT 2
- unable to install lang-python package with r2pm HOT 9
- fatal error: r_anal_ex.h: No such file or directory HOT 6
- Python Bindings stderr HOT 3
- Graph PNG Output Not Working HOT 2
- pypi should offer arm builds of r2libr HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from radare2-bindings.