File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -287,6 +287,7 @@ class OptimizerAArch64(Optimizer): # pylint: disable = too-few-public-methods
287287
288288 # TODO: @diegorusso
289289 _alignment = 8
290+ # https://developer.arm.com/documentation/ddi0602/2025-03/Base-Instructions/B--Branch-
290291 _re_jump = re .compile (r"\s*b\s+(?P<target>[\w.]+)" )
291292
292293
@@ -297,7 +298,9 @@ class OptimizerX86(Optimizer): # pylint: disable = too-few-public-methods
297298 _re_branch = re .compile (
298299 rf"\s*(?P<instruction>{ '|' .join (_X86_BRANCHES )} )\s+(?P<target>[\w.]+)"
299300 )
301+ # https://www.felixcloutier.com/x86/jmp
300302 _re_jump = re .compile (r"\s*jmp\s+(?P<target>[\w.]+)" )
303+ # https://www.felixcloutier.com/x86/ret
301304 _re_return = re .compile (r"\s*ret\b" )
302305
303306
You can’t perform that action at this time.
0 commit comments