mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-25 15:22:19 -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
|
// rjf: determine CIE's full address range
|
||||||
Rng1U64 cie_vaddr_range = {0};
|
Rng1U64 cie_vaddr_range = {0};
|
||||||
DW_Format cie_fmt = DW_Format_Null;
|
DW_Format cie_fmt = DW_Format_Null;
|
||||||
|
if(!done)
|
||||||
{
|
{
|
||||||
// rjf: read initial length data
|
// rjf: read initial length data
|
||||||
String8 initial_length_data = {0};
|
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;
|
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);
|
ptr_data->addr_is_good = !(byte_bad_flags & 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user