-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Marking edges on disassembly graph view #18374
Comments
You can set a color for the basic blocks, not for the edges yet. Do this work for you? |
Hi, I hope it makes sense. |
Yep totally makes sense to me. I have opened a pr with an initial implementation for this feature. Feel free to try it out. Ill close this issue when merged |
Sure. |
Check the new ageh command. works well when the graph is properly generated, i have identified some deep bugs in the way graphs are generated that make this new logic break.. and actually most jump table analysis are wrong because of this. But this will help me to debug and fix it. Thanks! hope it works for you now! PD: i will also extend ageh to also highlight the edges in the graphviz output |
Thanks, I'll check. |
Hi,
I see the edge in the list of highlighted edges with property set to
But visually there's no difference I can see. Am I missing something? |
Oh found the bug, fixing now :) |
also adding tests |
Thanks |
Fixed your bug in a PR (will merge as soon as it passes the CI), but i found another one that is making some edges not highlightable. But ill need more time to find a proper fix for this, maybe tomorrow. |
Hi, yeah sure no worries. |
Hi, Just another query: So in visual graph mode, I have noticed that whatever changes I make using command console in radare2 for example, marking an edge or renaming a variable, the changes doesn't reflect immediately, I need to close the graph view and then reopen it so as to be able to see the changes. Is there any workaround for this? Thanks |
There are two issues to be solved for this issue:
Im currently having some medical issues in the eyes that dont permit me to use any screen for more than few minutes in a row. Otherwise all this stuff would be solved :( i hope to be better in a month but meanwhile i would appreciate contribs or feedback in any case im not forgetting those issues which i hope to get solved soon or late |
Thanks for the update :) |
Hi, Take care and thanks for all your help. |
Cool! i have done several presentations and development trainings on how to contribute, understand the modules and extend the codebase, you may find videos in youtube. But usually if you know C, the only thing you need is just `git grep`. You dont need to understand the whole to fix a bug or improve a specific part.
Which is the question you have? I was thinking in recording some videos or doing quick explanations on some stuff, the problem is that i need to know what's what new contributors struggle with, because for me the whole thing is obvious and maybe i can document/explain better with your feedback.
Thanks!
… On 14 Mar 2021, at 12:08, Rhythm Chopra ***@***.***> wrote:
Hi,
Thanks for information the refresh using R key is working fine for me.
Actually, I started using this project recently and really liked it and wanted to contribute to the codebase so I started delving into the codebase, but I wasn't even able to understand the control flow of basic r2 modules. Even developer guide doesn't specifically explain various submodules, or maybe I need to invest more time to make sense of it. It's a pretty mature codebase and seems a bit complicated to directly understand it. Perhaps maybe sometime in future I'd be able to do that once I have enough bandwidth to investigate and contribure to this codebase.
Take care and thanks for all your help.
Cheers!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#18374 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAG75FWMGYDOLXCON4HKQCTTDSKKJANCNFSM4YALZQQQ>.
|
Yeah, I have good understanding of development in C, although I have worked more with C++, working is C isn't that big a challenge for me. I'll try to find resources on youtube and try to see if I can pickup some small issues to get started with. In case I face some problems or need assistance, I'll definitely ping. Thanks. |
Hi, Maybe I have some wrong understanding, in case, please correct me. Or is there any other way that is used by developers to track the control flow at runtime? Thanks for your inputs. |
if you use printf debugging in visual mode, the best way to debug that is using eprintf, which print things to stderr and just run r2 with 2> /tmp/log.txt, in another terminal you can tail -f /tmp/log.txt |
Hi,
I'm just wondering if there's some way for selecting/ marking the visited edges in the disassembly graph while doing code traversal. What happens is when the control flow is too big to fit on one screen or even when there are too many jumps/ calls to a particular code block, it gets pretty difficult to keep track of what's already visited and whats not.
I can't find any help from the documentation regarding the same.
Inputs are appreciated.
The text was updated successfully, but these errors were encountered: