Giter Site home page Giter Site logo

Add Code Style eval vars about rz-ghidra HOT 7 CLOSED

rizinorg avatar rizinorg commented on August 26, 2024
Add Code Style eval vars

from rz-ghidra.

Comments (7)

ITAYC0HEN avatar ITAYC0HEN commented on August 26, 2024

from rz-ghidra.

radare avatar radare commented on August 26, 2024

lazy to use the pencil here,

Screenshot 2019-08-18 at 18 16 48

    iVar2 = func_0x000100004510();

should be

    int32_t iVar2 = func_0x000100004510();

from rz-ghidra.

radare avatar radare commented on August 26, 2024

also .

if ()
{
...
}
else
{
...
}

should be

if (x) {
} else {
}

from rz-ghidra.

radare avatar radare commented on August 26, 2024

missing space before (

            iVar2 = func_0x00010000450a();

...etc everything is documented in r2's DEVELOPERS.md

from rz-ghidra.

radare avatar radare commented on August 26, 2024

maybe as an option or sthg, i understand not everybody likes r2 coding style, but imho this way is more readable, thats why we have been evolving the r2 coding style for 13 years with discussions and comparisons

from rz-ghidra.

thestr4ng3r avatar thestr4ng3r commented on August 26, 2024

The options are all here:
https://github.com/thestr4ng3r/r2ghidra-dec/blob/90e393dffc5656fbe7fe6204b191027a255b29d5/src/core_ghidra.cpp#L66-L72
Just need to add eval vars.
But as long as they are not there, I dictate the style without discussion :-P

from rz-ghidra.

radare avatar radare commented on August 26, 2024

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.