Comments (4)
This is happening to me often.
An example test file.
pro.zip
Ghidra:
R2Ghidra-Dec:
from rz-ghidra.
Happens to me too. For example binary https://github.com/csivitu/CTF-Write-ups/blob/master/CSAW%20Quals%202020/Rev/not_malware/not_malware
in ghidra main
have this:
dVar4 = pow(16.00000000,0.50000000);
but in r2ghidra it looks like this:
sym.imp.pow(0x4030000000000000);
in ghidra main
have this:
if (local_a8[11] != local_7d) {
/* WARNING: Subroutine does not return */
exit(1);
}
if (local_a8[3] != local_88[3]) {
/* WARNING: Subroutine does not return */
exit(1);
}
if (local_a8[7] != local_81) {
/* WARNING: Subroutine does not return */
exit(1);
}
in r2ghidra:
if (var_95h != var_75h) {
// WARNING: Subroutine does not return
sym.imp.exit(1);
}
if (var_a0h._3_1_ != var_80h._3_1_) {
// WARNING: Subroutine does not return
sym.imp.exit(1);
}
if (var_a0h._7_1_ != var_80h._7_1_) {
// WARNING: Subroutine does not return
sym.imp.exit(1);
}
from rz-ghidra.
It would be amazing if you could help to convert this into the test here: /test.
from rz-ghidra.
Well right now, most of these differences are expected and consequences of rizin's type system. So not sure if tests make sense yet.
from rz-ghidra.
Related Issues (20)
- Deb package to integrate rz-ghidra in Kali HOT 2
- Build fails with `-mcrc32` HOT 1
- Support Tricore HOT 1
- Cutter plugin throws a CMake Error
- Caching decompiler output HOT 1
- Make less changes to the ghidra source code HOT 1
- AnnotateVariable() method doesn't find the correct reference offset for global variables HOT 5
- Ghidra Decompiler Error: Symbol method.public.Hello.void_say extends beyond the end of the address space
- Compilation errors while building Docker image
- install/usr/include/librz/rz_list.h:5:10: fatal error: ht_pp.h: No such file or directory #47 247.9 #include <ht_pp.h> #47 247.9 ^~~~~~~~~ HOT 3
- Bad function argument handling for arm thumb binaries
- Cutter plugin fails to build on macOS
- src/RizinUtils.h:14:48: error: 'RzListIter' {aka 'struct rz_list_iter_t'} has no member named 'n' HOT 4
- failed to build on gentoo HOT 1
- Support V850
- Failed to build with rizin 0.6.3 on MacOS HOT 2
- Fix `test/db/extras/ghidra typedef` test
- rz-ghidra didn't show variable stack size array
- QObject: No such file or directory
- Support XTensa
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 rz-ghidra.