Giter Site home page Giter Site logo

Comments (4)

Anutrix avatar Anutrix commented on July 23, 2024

This is happening to me often.
An example test file.
pro.zip
Ghidra:
WhatsApp Image 2020-01-01 at 22 51 07
R2Ghidra-Dec:
Capture75
Capture77

from rz-ghidra.

bazuchan avatar bazuchan commented on July 23, 2024

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.

XVilka avatar XVilka commented on July 23, 2024

It would be amazing if you could help to convert this into the test here: /test.

from rz-ghidra.

thestr4ng3r avatar thestr4ng3r commented on July 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.