Skip to content

Commit d8f4cb0

Browse files
committed
Update regex #208
1 parent 4f316bd commit d8f4cb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2094,7 +2094,7 @@ def process_reloc(self, row: str, prev: str) -> Tuple[str, Optional[str]]:
20942094
# Example %edi,0
20952095
# Example movb $0x0,0x0
20962096
if not addr_imm:
2097-
addr_imm = re.search(r"(?:0x)?(?<![1-9])0$", args)
2097+
addr_imm = re.search(r"\b(?:0x)?(?<![1-9])0$", args)
20982098

20992099
# Example movb $0x0,0x0(%si)
21002100
if not addr_imm:

0 commit comments

Comments
 (0)