We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
%got
%plt
1 parent 2ced3cc commit 4f316bdCopy full SHA for 4f316bd
1 file changed
diff.py
@@ -3003,7 +3003,9 @@ class ArchSettings:
3003
),
3004
re_large_imm=re.compile(r"-?[1-9][0-9]{2,}|-?0x[0-9a-f]{3,}"),
3005
re_sprel=re.compile(r"(-?0x[0-9a-f]+|-?[0-9]+)(?=\((%ebp|%esi)\))"),
3006
- re_imm=re.compile(r"(?:\b|-)(0x[0-9a-f]+|[0-9]+)|([\?$_][^ \t,]+)"),
+ re_imm=re.compile(
3007
+ r"(?:\b|-)(0x[0-9a-f]+|[0-9]+)|([\?$_][^ \t,]+)|(%(plt|got)\([^)]*\))"
3008
+ ),
3009
re_reloc=re.compile(
3010
r"R_386_|dir32|DISP32|WRTSEG|OFF32|OFFPC32|OFF16|OFFPC16|SEG|FAR16"
3011
0 commit comments