mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-30 17:43:20 -08:00
fix eh_frame unwinder - switching to synchronous process reads exposed losing info about a missed address read for unwinding, so unwinds never succeeded
This commit is contained in:
1 parent
a6755d6191
commit
a0a16ea11e
2 files changed
+3
-1
No files matched your search
@@ -133,6 +133,7 @@ eh_uwnd_step(Arch arch, MemoryMap *memory_map, UWND_ModuleInfo *module_info, U64
|
||||
// rjf: determine CIE's full address range
|
||||
Rng1U64 cie_vaddr_range = {0};
|
||||
DW_Format cie_fmt = DW_Format_Null;
|
||||
if(!done)
|
||||
{
|
||||
// rjf: read initial length data
|
||||
String8 initial_length_data = {0};
|
||||
|
||||
@@ -1764,7 +1764,8 @@ ev_string_iter_next(Arena *arena, EV_StringIter *it, String8 *out_string)
|
||||
{
|
||||
ptr_data->addr_is_good = 1;
|
||||
}
|
||||
else if(e_space_read(ptr_data->value_eval.space, &byte, &range_info, r1u64(ptr_data->value_eval.value.u64, ptr_data->value_eval.value.u64+1)))
|
||||
else if(e_space_read(ptr_data->value_eval.space, &byte, &range_info, r1u64(ptr_data->value_eval.value.u64, ptr_data->value_eval.value.u64+1)) &&
|
||||
!(range_info.flags & E_SpaceRangeFlag_Stale))
|
||||
{
|
||||
ptr_data->addr_is_good = !(byte_bad_flags & 1);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user