Skip to content

Commit

Permalink
analysis: refine how debug paths are created (#1388)
Browse files Browse the repository at this point in the history
Signed-off-by: David Korczynski <david@adalogics.com>
  • Loading branch information
DavidKorczynski authored Jan 25, 2024
1 parent 6d118b2 commit 061130b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fuzz_introspector/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ def dump_debug_files(self):
# filepath to be erroneus.
# Fix this here
if '//' in file_dict['source_file']:
logger.info(line)
file_dict['source_file'] = '/' + file_dict[
'source_file'].split('//')[-1]
file_dict['source_file'] = '/' + '/'.join(
file_dict['source_file'].split('//')[1:])

all_files_in_debug_info[
file_dict['source_file']] = file_dict
# Functions defined in the module
Expand Down

0 comments on commit 061130b

Please sign in to comment.