summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authornullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com>2026-02-21 23:01:18 +1100
committerGlenn Smith <glenn@vector35.com>2026-02-26 13:47:42 -0500
commit8053519294751616998558811461876233782245 (patch)
tree491154a1702f2326397c8ffbb67748d6721b6e63 /python
parent4399766500542074600721693015367320395719 (diff)
fix[python]: missed mismatch for flag_name
Diffstat (limited to 'python')
-rw-r--r--python/callingconvention.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/callingconvention.py b/python/callingconvention.py
index 80c7f6d4..a78f9ad6 100644
--- a/python/callingconvention.py
+++ b/python/callingconvention.py
@@ -450,7 +450,7 @@ class CallingConvention:
def _get_incoming_flag_value(self, ctxt, flag, func, result):
try:
func_obj = function.Function(handle=core.BNNewFunctionReference(func))
- flag_name = self.arch.get_reg_name(flag)
+ flag_name = self.arch.get_flag_name(flag)
api_obj = self.perform_get_incoming_flag_value(flag_name, func_obj)._to_core_struct()
except:
log_error_for_exception("Unhandled Python exception in CallingConvention._get_incoming_flag_value")