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