-
-
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
RzTable
API Refactoring
#4625
RzTable
API Refactoring
#4625
Conversation
@brightprogrammer instead of waiting when all of the issue is covered, I recommend just doing it piece-by-piece, and merge this as is. Please rebase and mark as ready for the review. |
Ok |
For cases when we need to directly use arguments of a variadic function to add a new row to `RzTable`, the new `rz_table_add_vrowf` will take a `va_list` and a format string to do the same.
9d82c3a
to
a23d6d1
Compare
Running |
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 fix linter and LGTM.
ensure you run clang-format16 (you can supply the clang format bin path by cmd line to the python script) |
The commit refactors and fixes the table generation bugs in `ReaiPluginTable` abstraction. The plugin now completely uses the API provided by `RzTable` to generate the table and display it. This was possible because of recent merge of PR rizinorg/rizin#4625 This also means that users might face some problems if they use a release version of Rizin/Cutter. Users (for now) must build Rizin from source until unless a new version of Rizin is released with the changes in PR present.
Your checklist for this pull request
Detailed description
RzTable
API refactoring.TODOs for this PR :
RzTable
fromRzList
to either vectors or hashtable (HtPP
or something like that) : This is already addressed by Refactor RzTable: change the internal storage to RzVector #2421 and Refactor RzTable: change the implementation to RzVector #2536This PR also adds a new function to
RzTable
API for adding a new row using a format string and ava_list
.Test plan
N/A
Closing issues
#1961