Skip to content

Commit

Permalink
erts: Cuddle asan_log_to_html
Browse files Browse the repository at this point in the history
to be better at finding the end of an error report.
  • Loading branch information
sverker committed Oct 19, 2022
1 parent dd5fcc4 commit aba5ad6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erts/emulator/asan/asan_logs_to_html
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ match_loop(Out, Bin, RegEx0, LogAcc0, PrevEnd, Unmatched0, LM0) ->
%% ErrorReport
"(?:(==ERROR: AddressSanitizer:.*\n"
"(?:.*\n)+?)" % any lines (non-greedy)
"(?:^(?:==|--)|\\z))" % stop at line beginning with == or --
% or at end-of-string
"(?:^[=-]+$|\\z))" % stop at line consisting of only = or -
% or at end-of-string
"|"
%% Skipped
"(?:^[=-]+$)" % skip lines consisting only of = or -
Expand Down

0 comments on commit aba5ad6

Please sign in to comment.