Skip to content

Commit

Permalink
cfg_load: return empty list instead of throwing exception (#1772)
Browse files Browse the repository at this point in the history
Signed-off-by: David Korczynski <[email protected]>
  • Loading branch information
DavidKorczynski authored Oct 14, 2024
1 parent 1b9da09 commit bc34f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fuzz_introspector/cfg_load.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def extract_all_callsites(
calltree: Optional[CalltreeCallsite]) -> List[CalltreeCallsite]:
if calltree is None:
logger.error("Trying to extract from a None calltree")
raise CalltreeError("Calltree is None")
return []

cs_list: List[CalltreeCallsite] = []
extract_all_callsites_recursive(calltree, cs_list)
Expand Down

0 comments on commit bc34f6d

Please sign in to comment.