dbgi: fix incorrect grab of raddbg header; raddbg_from_pdb: fix unsigned interpretation of offsets in defrange symbols; fix incorrect byte position/size encoding ordering in some location info cases

This commit is contained in:
Ryan Fleury
2024-01-24 11:57:17 -08:00
parent 3edc67e19e
commit 69f77456b8
6 changed files with 38 additions and 19 deletions
+1 -1
View File
@@ -653,7 +653,7 @@ dbgi_parse_thread_entry_point(void *p)
file_base = os_file_map_view_open(file_map, OS_AccessFlag_Read, r1u64(0, file_props.size));
if(sizeof(RADDBG_Header) <= file_props.size)
{
RADDBG_Header *header = (RADDBG_Header*)&file_base;
RADDBG_Header *header = (RADDBG_Header*)file_base;
if(header->encoding_version != RADDBG_ENCODING_VERSION)
{
raddbg_file_is_up_to_date = 0;