From fc95d20481c520e972bb3c0772435a10c4acf9c8 Mon Sep 17 00:00:00 2001 From: Manuel Blatt Date: Wed, 3 Jul 2024 10:43:03 +0200 Subject: [PATCH] update globals.py doc --- decompiler/frontend/binaryninja/handlers/globals.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/decompiler/frontend/binaryninja/handlers/globals.py b/decompiler/frontend/binaryninja/handlers/globals.py index 621cb76a..beaa439a 100644 --- a/decompiler/frontend/binaryninja/handlers/globals.py +++ b/decompiler/frontend/binaryninja/handlers/globals.py @@ -64,9 +64,12 @@ ==> trust bninja lift normally => If a void*, then we try determine the value via get_unknown_pointer_value - NamedTypeReferenceType + - (enum/structs + => lifts struct members recursively + => includes special handling of a BNinja bug when accessing certain PDB enum types + - StructType - enum/structs - => not supported currently - => has a BNinja bug when accessing certain PDB enum types + => implementation *very* similar to NamedTypeReferenceType MISC: - ._callers will be empty for each call of lift_global_variable