Skip to content

Commit

Permalink
Fully exclude /usr/ paths. (#483)
Browse files Browse the repository at this point in the history
Drive-by, following
#478 (comment)

Signed-off-by: [email protected]
  • Loading branch information
mihaimaruseac authored Jul 15, 2024
1 parent d5d7246 commit 309a2b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions experimental/manual/oss_fuzz_vuln_prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@
STACK_FRAME_START_REGEX = re.compile(r'\s*#\d+\s+0x[0-9A-Fa-f]+\s+')
STACK_FRAME_PATH_LINE_REGEX = re.compile(
r'(?<=\[|\(|\s)([a-zA-Z/.][^\s]*?)\s*(:|@)\s*(\d+)(?=\]$|\)$|:\d+$|$)')
EXCLUDED_FILE_PATH_SUBSTRINGS = ('/compiler-rt/', '/glibc-',
'/usr/local/include/')
EXCLUDED_FILE_PATH_SUBSTRINGS = ('/compiler-rt/', '/glibc-', '/usr/')


def get_local_repo_path(repo_url):
Expand Down

0 comments on commit 309a2b7

Please sign in to comment.