mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-15 13:29:41 -07:00
always allocate byte dirty/unreadable flags in ctrl process memory cache lookup, rather than trusting caller to check
This commit is contained in:
1 parent
3fd9014c20
commit
57fb21adf7
2 files changed
+8
-9
No files matched your search
@@ -987,15 +987,12 @@ df_eval_watch_view_build(DF_Window *ws, DF_Panel *panel, DF_View *view, DF_EvalW
|
||||
size = Min(size, 64);
|
||||
Rng1U64 vaddr_rng = r1u64(row->eval.offset, row->eval.offset+size);
|
||||
CTRL_ProcessMemorySlice slice = ctrl_query_cached_data_from_process_vaddr_range(scratch.arena, process->ctrl_machine_id, process->ctrl_handle, vaddr_rng);
|
||||
if(slice.byte_changed_flags != 0)
|
||||
for(U64 idx = 0; idx < (size+63)/64; idx += 1)
|
||||
{
|
||||
for(U64 idx = 0; idx < (size+63)/64; idx += 1)
|
||||
if(slice.byte_changed_flags[idx] != 0)
|
||||
{
|
||||
if(slice.byte_changed_flags[idx] != 0)
|
||||
{
|
||||
row_is_fresh = 1;
|
||||
break;
|
||||
}
|
||||
row_is_fresh = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}break;
|
||||
|
||||
Reference in new issue
Block a user