-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
Separate Relocs Setting and Printing #938
Conversation
1696fd0
to
3234ec4
Compare
char *mn = rz_bin_demangle(r->bin->cur, NULL, name, addr, keep_lib); | ||
if (mn) { | ||
RBNode *relocs = NULL; | ||
if (r->bin->cur && r->bin->cur->o) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if possible without too much hassle, please extract all the inner code in a separate function because having such a long if
is painful for my eyes :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same request as by ret2libc. split that huge if into a function, where possible.
9abe9bc
to
68f5ed0
Compare
split now |
Follow-up to #880, #775, #742