-
-
Notifications
You must be signed in to change notification settings - Fork 359
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
Switch from RzList
to RzPVector
in RzBinPlugin
#3775
Labels
Milestone
Comments
5 tasks
5 tasks
3 tasks
5 tasks
This was referenced Sep 17, 2023
This was referenced Sep 18, 2023
@PeiweiHu hi, do you plan to continue working on this? |
I just came across this message since the last month was too busy. I will continue working on this and also other stuffs these days. |
This was referenced Nov 6, 2023
5 tasks
5 tasks
This was referenced Jan 6, 2024
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently it uses a lot of
RzList
which is slower to traverse and takes more memory. The idea is to substitute them forRzPVector
instead.These are members that could be switched:
RzList /*<RzBinImport *>*/ *(*imports)(RzBinFile *bf);
RzList /*<RzBinSymbol *>*/ *(*symbols)(RzBinFile *bf);
RzList /*<RzBinString *>*/ *(*strings)(RzBinFile *bf);
RzList /*<RzBinVirtualFile *>*/ *(*virtual_files)(RzBinFile *bf);
RzList /*<RzBinMap *>*/ *(*maps)(RzBinFile *bf);
RzList /*<RzBinAddr *>*/ *(*entries)(RzBinFile *bf);
RzList /*<RzBinSection *>*/ *(*sections)(RzBinFile *bf);
RzList /*<RzBinField *>*/ *(*fields)(RzBinFile *bf);
RzList /*<char *>*/ *(*libs)(RzBinFile *bf);
RzList /*<RzBinReloc *>*/ *(*relocs)(RzBinFile *bf);
RzList /*<RzBinTrycatch *>*/ *(*trycatch)(RzBinFile *bf);
RzList /*<RzBinClass *>*/ *(*classes)(RzBinFile *bf);
RzList /*<RzBinMem *>*/ *(*mem)(RzBinFile *bf);
RzList /*<RzBinReloc *>*/ *(*patch_relocs)(RzBinFile *bf);
RzList /*<RzBinFileHash *>*/ *(*hashes)(RzBinFile *bf);
RzList /*<RzBinResource *>*/ *(*resources)(RzBinFile *bf);
The text was updated successfully, but these errors were encountered: