From 18bab79f2a6bc792679463445a6dbc8bd3b4ae8b Mon Sep 17 00:00:00 2001 From: Riccardo Schirone Date: Tue, 31 Jan 2023 17:50:52 +0100 Subject: [PATCH] Add RzAnalysisXRef class --- src/bindings.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/bindings.py b/src/bindings.py index c3b1e22..cfa34c9 100644 --- a/src/bindings.py +++ b/src/bindings.py @@ -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: