Skip to content

Commit c986b93

Browse files
committed
Add check_type param for collecting go paths
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
1 parent 5d7a4a2 commit c986b93

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scanpipe/pipes/d2d.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
from collections import defaultdict
2525
from contextlib import suppress
2626
from dataclasses import dataclass
27+
from functools import partial
2728
from pathlib import Path
2829
from re import match as regex_match
2930

@@ -1788,5 +1789,7 @@ def map_paths(project, file_type, collect_paths_func, logger=None):
17881789
def map_elfs(project, logger=None):
17891790
map_paths(project, "elfs", get_dwarf_paths, logger)
17901791

1792+
17911793
def map_go_paths(project, logger=None):
1792-
map_paths(project, "executable_binaries", collect_and_parse_symbols, logger)
1794+
collect_and_parse_symbols_partial = partial(collect_and_parse_symbols, check_type=False)
1795+
map_paths(project, "executable_binaries", collect_and_parse_symbols_partial, logger)

0 commit comments

Comments
 (0)