-
-
Notifications
You must be signed in to change notification settings - Fork 363
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
Issue 3871 configure bin hashes #3951
Conversation
…or hash lists of different lengths
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.
nice! some changes are needed
* Because the hashes computed for a given bin are now set by cb_binhashes in bin->default_hashes, they have to be set manually in test_bin.c
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.
please add also a test under db/cmd
where you modify bin.hashes.default
and print the hashes.
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, just run ./sys/clang-format.py
(requires to install first clang-format 16 https://github.com/rizinorg/rizin/blob/dev/DEVELOPERS.md#code-style)
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. awesome job
Your checklist for this pull request
Detailed description
I have implemented the functionality requested in #3871.
iT
now computes and shows the algorithms specified inbin.hashes.default
....
Test plan
I have tested using
test/db/cmd/cmd_i
. I'm having trouble running the remaining tests however (even ondev
) so more testing is probably required....
Closing issues
closes #3871
...