mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-26 07:42:22 -08:00
keep COFF input metadata immutable
This commit is contained in:
1 parent
993df2d9d8
commit
cf67aca7da
5 files changed
+19
-14
No files matched your search
@@ -5085,8 +5085,13 @@ TEST(first_member_header)
|
||||
}));
|
||||
T_Ok(t_write_entry_obj());
|
||||
|
||||
t_invoke_linkerf("/subsystem:console /entry:entry /out:a.exe test.lib entry.obj /include:1 /include:2 /include:3 /include:4 /include:5 /include:6 /include:7 /include:8 /include:9");
|
||||
String8 lib_before = t_read_file(arena, str8_lit("test.lib"));
|
||||
String8 obj_before = t_read_file(arena, str8_lit("entry.obj"));
|
||||
|
||||
t_invoke_linkerf("/RAD_MEMORY_MAP_FILES:READ_WRITE /subsystem:console /entry:entry /out:a.exe test.lib entry.obj /include:1 /include:2 /include:3 /include:4 /include:5 /include:6 /include:7 /include:8 /include:9");
|
||||
T_Ok(g_last_exit_code == 0);
|
||||
T_Ok(str8_match(lib_before, t_read_file(arena, str8_lit("test.lib")), 0));
|
||||
T_Ok(str8_match(obj_before, t_read_file(arena, str8_lit("entry.obj")), 0));
|
||||
}
|
||||
|
||||
TEST(second_member_header)
|
||||
|
||||
Reference in new issue
Block a user