Skip to content
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

Improve DWARF5 support and refactor (new history) #3703

Merged
merged 3 commits into from
Aug 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -223,3 +223,7 @@ License: LGPL-3.0-only
Files: .prettierignore
Copyright: 2020 RizinOrg <info@rizin.re>
License: LGPL-3.0-only

Files: test/prj/*.rzdb test/prj/*.rzdb.gz
Copyright: 2020 RizinOrg <info@rizin.re>
License: LGPL-3.0-only
2 changes: 2 additions & 0 deletions librz/analysis/analysis.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ RZ_API RzAnalysis *rz_analysis_new(void) {
analysis->global_var_tree = NULL;
analysis->il_vm = NULL;
analysis->hash = rz_hash_new();
analysis->debug_info = rz_analysis_debug_info_new();
return analysis;
}

Expand Down Expand Up @@ -168,6 +169,7 @@ RZ_API RzAnalysis *rz_analysis_free(RzAnalysis *a) {
rz_str_constpool_fini(&a->constpool);
ht_pp_free(a->ht_global_var);
rz_list_free(a->plugins);
rz_analysis_debug_info_free(a->debug_info);
free(a);
return NULL;
}
Expand Down
2 changes: 0 additions & 2 deletions librz/analysis/analysis_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@

#include <rz_analysis.h>

RZ_IPI RZ_BORROW RzAnalysisVar *rz_analysis_function_add_var_dwarf(RzAnalysisFunction *fcn, RZ_OWN RzAnalysisVar *var, int size);

#endif // RZ_ANALYSIS_PRIVATE_H
Loading
Loading