Skip to content

Commit

Permalink
Add RzAnalysisXRef class
Browse files Browse the repository at this point in the history
  • Loading branch information
ret2libc committed Feb 23, 2023
1 parent be13ad6 commit 18bab79
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/bindings.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,13 @@ def bind_analysis(analysis_h: Header) -> None:
Class(analysis_h, typedef="RzAnalysisEsil")
Class(analysis_h, typedef="RzAnalysisPlugin")

Class(
analysis_h,
typedef="RzAnalysisXRef",
rename_fields={"from": "from_addr", "to": "to_addr"},
)
Enum(analysis_h, typedef="RzAnalysisXRefType")


@threaded_header("rz_asm.h")
def bind_asm(asm_h: Header) -> None:
Expand Down

0 comments on commit 18bab79

Please sign in to comment.