Giter Site home page Giter Site logo

Comments (2)

romansavrulin avatar romansavrulin commented on July 23, 2024

Looks the same as #66 to me

from rz-ghidra.

XVilka avatar XVilka commented on July 23, 2024

Still happens with the latest Rizin & Rz-ghidra (rizinorg/rizin@ead6016 and 0c9ab92 respectively)

rizin a.out                   
 -- To debug a program, you can call rizin with 'dbg://<path-to-program>' or '-d <path..>'
[0x000003cc]> s main
[0x00000464]> af
[0x00000464]> pdf
╭ int main (int argc, char **argv, char **envp);
│           ; var int32_t var_ch @ stack - 0xc
│           0x00000464      push  {fp, lr}
│           0x00000468      mov   fp, sp
│           0x0000046c      sub   sp, sp, 8
│           0x00000470      ldr   r0, [0x00000490]                     ; [0x490:4]=32 ; 1168
│           0x00000474      add   r0, pc, r0
│           0x00000478      bl    sym.imp.printf                       ; sym.imp.printf ; int printf(const char *format)
│           0x0000047c      movw  lr, 0
│           0x00000480      str   r0, [var_ch]
│           0x00000484      mov   r0, lr
│           0x00000488      mov   sp, fp
╰           0x0000048c      pop   {fp, pc}
[0x00000464]> pdg

undefined4 main(void)
{
    int32_t var_ch;
    
    sym.imp.printf(0x49c);
    return 0;
}
[0x00000464]> 

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.