mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2026-01-05 10:40:06 +01:00
att parser: support for more mnemonic
found some 'jg,pt' in icc/mkl generated binaries which crashed the parser, here an example: dd8ccd: 3e 7f 90 jg,pt dd8c60 <mkl_blas_avx2_dtrsm_kernel...
This commit is contained in:
@@ -158,7 +158,7 @@ class ParserX86ATT(BaseParser):
|
||||
# Instructions
|
||||
# Mnemonic
|
||||
mnemonic = pp.ZeroOrMore(pp.Literal('data16') | pp.Literal('data32')) + pp.Word(
|
||||
pp.alphanums
|
||||
pp.alphanums + ','
|
||||
).setResultsName('mnemonic')
|
||||
# Combine to instruction form
|
||||
operand_first = pp.Group(
|
||||
|
||||
Reference in New Issue
Block a user