You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 fcn.00404740
0x00401500 83 1 sub.KERNEL32.dll_GetTempPathA_500
0x00404a86 19 1 fcn.00404a86
0x00404a66 32 3 fcn.00404a66
..... snipped .....
When using the Ruby API, the following information is returned
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.
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
When using the Ruby API, the following information is returned
Is there a reason that r2pipe is only seeing 1 function listed versus the 152 recognized by Radare2?
Thank you for your time.
The text was updated successfully, but these errors were encountered: