We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 640e86f commit af50634Copy full SHA for af50634
chb/arm/opcodes/ARMAdd.py
@@ -394,7 +394,7 @@ def pointer_arithmetic_expr() -> AST.ASTExpr:
394
if rhs3.is_constant_expression:
395
astree.set_ssa_value(str(hl_lhs), hl_rhs)
396
397
- elif (hl_lhs_type is not None and hl_lhs_type.is_pointer):
+ elif (hl_lhs_type is not None and hl_lhs_type.is_pointer and not has_cast()):
398
hl_rhs = pointer_arithmetic_expr()
399
if str(hl_rhs).startswith("astmem_tmp"):
400
chklogger.logger.error(
0 commit comments