Skip to content

Commit 8053519

Browse files
nullableVoidPtrCouleeApps
authored andcommitted
fix[python]: missed mismatch for flag_name
1 parent 4399766 commit 8053519

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/callingconvention.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ def _get_incoming_reg_value(self, ctxt, reg, func, result):
450450
def _get_incoming_flag_value(self, ctxt, flag, func, result):
451451
try:
452452
func_obj = function.Function(handle=core.BNNewFunctionReference(func))
453-
flag_name = self.arch.get_reg_name(flag)
453+
flag_name = self.arch.get_flag_name(flag)
454454
api_obj = self.perform_get_incoming_flag_value(flag_name, func_obj)._to_core_struct()
455455
except:
456456
log_error_for_exception("Unhandled Python exception in CallingConvention._get_incoming_flag_value")

0 commit comments

Comments
 (0)