-
-
Notifications
You must be signed in to change notification settings - Fork 354
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
Add RzBaseFindOpt for custom thread status callback #2768
Conversation
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.
Looks good, but it would also benefit from unit/integration test, I think.
librz/include/rz_basefind.h
Outdated
ut64 begin_address; ///< Thread begin address | ||
ut64 current_address; ///< Thread current address | ||
ut64 end_address; ///< Thread end address |
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.
What is the "thread begin address'?
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.
each thread has a range to scan, that is the thread range
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.
ok maybe be a bit more explicit about this in the doc for these fields.
Moreover, from a more high level point of view, why do we care about the details? I mean, do we really need to export the information about threads running the search? Are you planning to export this info in cutter?
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.
yes.
855670b
to
b177358
Compare
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.
LGTM
9c32e30
to
09629a5
Compare
Your checklist for this pull request
Detailed description
Add RzBaseFindOpt to allow to have custom thread status callbacks