Skip to content

Commit a649cf8

Browse files
discard unknown FDEs
1 parent d0eea0a commit a649cf8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/ctrl/ctrl_core.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2027,10 +2027,8 @@ ctrl_unwind_step__dwarf(CTRL_Handle process_handle, CTRL_Handle module_handle, A
20272027
is_cfi_parsed = dw_parse_cfi(unwind_data, fde_addr, arch, &cie, &fde);
20282028
}
20292029

2030-
if(is_cfi_parsed)
2030+
if(is_cfi_parsed && contains_1u64(fde.pc_range, ip))
20312031
{
2032-
Assert(contains_1u64(fde.pc_range, ip));
2033-
20342032
// setup pointer decoder ops
20352033
DW_DecodePtr *decode_ptr_func = 0;
20362034
void *decode_ptr_ctx = 0;

0 commit comments

Comments
 (0)