Giter Club home page Giter Club logo

Comments (10)

aeickho avatar aeickho commented on August 19, 2024

tnx... i'm really an radare2 starter

from md380tools.

Maijin avatar Maijin commented on August 19, 2024

everyone is somehow 🌚

from md380tools.

aeickho avatar aeickho commented on August 19, 2024

@Maijin, I do not understand the use of fC.

Line 1 of reg.r:

CCa 0x800df8a "40020c00" "GPIOD GPIO port mode register (GPIOx_MODER)"

0x0800df8a dff8680b ldr.w r0, [pc, 0xb68] ; [0x800eaf4:4]=0x40020c00 ; "40020c00" "GPIOD GPIO port mode register (GPIOx_MODER)"

"0x40020c00" is the address of "GPIOD GPIO port mode register (GPIOx_MODER)" ... yes I would like that all places where the accessed register 0x40020c00 comment appears that it is "GPIOD GPIO port mode register (GPIOx_MODER ) "is.

what is the right usage from fC in this case?

from md380tools.

radare avatar radare commented on August 19, 2024

fC associates a comment to a flag, this way, the comments will appear everytime an instruction references the address pointed by the flag. Afaik there are some tests in the regressions suite for this. This was a feature request from @XVilka so may he can also provide some real life examples for this

from md380tools.

XVilka avatar XVilka commented on August 19, 2024

set a corresponding flag name.e.g. GPIO1_MODER and then "GPIO port mode register" as fC name.

from md380tools.

aeickho avatar aeickho commented on August 19, 2024

@XVilka can you write me some example? i have problems to understand your comment.

... fC "GPIO port mode register" GPIO1_MODER
but how to added 0x40020c00 to this entry ?

from md380tools.

XVilka avatar XVilka commented on August 19, 2024

f GPIO1_MODER 4 @ 0x40020c00
fC comment GPIO1_MODER

from md380tools.

radare avatar radare commented on August 19, 2024

Quotes dont work like this in r2land

On 05 Apr 2016, at 17:24, alex, df8av [email protected] wrote:

@XVilka can you write me some example? i have problems to understand your comment.

... fC "GPIO port mode register" GPIO1_MODER
but how to added 0x40020c00 to this entry ?

β€”
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

from md380tools.

aeickho avatar aeickho commented on August 19, 2024

ok, I'm understand the f command
f WelcomeLine1 4 @ 0x2001cecc

0x0804457c      dff80c0d       ldr.w r0, [pc, 0xd0c]       ; [0x804528c:4]=0x2001cecc WelcomeLine1                             
0x08044580      c9f783f9       bl gfx_drawtext             ;[6]                                                                

but i can't see the comment in visual mode ...
fC WelcomeLine1 Welcome_Line1 str pointer

also: is it possible that’s radare2 is generating an list with all places "WelcomeLine1" is used to me?

from md380tools.

aeickho avatar aeickho commented on August 19, 2024

radare2 is complicated. I learn when using radare2.

from md380tools.

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.