mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-21 13:22:23 -08:00
fix PE initialized data size
This commit is contained in:
1 parent
e283952994
commit
d1171dcabb
2 files changed
+2
-2
No files matched your search
@@ -554,7 +554,7 @@ TEST(simple_link_test)
|
||||
|
||||
PE_OptionalHeader32Plus *opt = str8_deserial_get_raw_ptr(exe, pe.optional_header_off, sizeof(*opt));
|
||||
T_Ok(opt->sizeof_code == text_section->fsize);
|
||||
T_Ok(opt->sizeof_inited_data == (text_section->fsize + data_section->fsize));
|
||||
T_Ok(opt->sizeof_inited_data == data_section->fsize);
|
||||
T_Ok(opt->sizeof_uninited_data == 0x200);
|
||||
T_Ok(opt->code_base == 0x1000);
|
||||
T_Ok(opt->image_base == 0x140000000);
|
||||
|
||||
Reference in new issue
Block a user