Skip to content

Commit

Permalink
scripts/symbolize.py: accept several spaces after "region"
Browse files Browse the repository at this point in the history
User TA crash dumps were slightly modified to better align region
numbers. scripts/symbolize.py needs to be updated accordingly.

Fixes: dba5a1e ("core: better align output of TA dump with many or big regions")
Signed-off-by: Jerome Forissier <[email protected]>
Reviewed-by: Rouven Czerwinski <[email protected]>
  • Loading branch information
jforissier committed Mar 14, 2019
1 parent f1e9b21 commit 444c203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/symbolize.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
STACK_ADDR_RE = re.compile(
r'[UEIDFM]/T[AC]:(\?+|[0-9]+) [0-9]* +(?P<addr>0x[0-9a-f]+)')
ABORT_ADDR_RE = re.compile(r'-abort at address (?P<addr>0x[0-9a-f]+)')
REGION_RE = re.compile(r'region [0-9]+: va (?P<addr>0x[0-9a-f]+) '
REGION_RE = re.compile(r'region +[0-9]+: va (?P<addr>0x[0-9a-f]+) '
r'pa 0x[0-9a-f]+ size (?P<size>0x[0-9a-f]+)'
r'( flags .{6} (\[(?P<elf_idx>[0-9]+)\])?)?')
ELF_LIST_RE = re.compile(r'\[(?P<idx>[0-9]+)\] (?P<uuid>[0-9a-f\-]+)'
Expand Down

0 comments on commit 444c203

Please sign in to comment.