Write a dummy value into unresolved import variables.
This commit is contained in:
@@ -362,6 +362,8 @@ bool XexModule::SetupLibraryImports(const char* name,
|
||||
}
|
||||
} else if (user_export_addr) {
|
||||
*record_slot = user_export_addr;
|
||||
} else {
|
||||
*record_slot = 0xF00DF00D;
|
||||
}
|
||||
|
||||
// Setup a variable and define it.
|
||||
|
||||
Reference in New Issue
Block a user