Write a dummy value into unresolved import variables.

This commit is contained in:
Dr. Chat 2015-07-03 19:00:07 -05:00
parent 74d57cfd0a
commit b852ce75df
1 changed files with 2 additions and 0 deletions

View File

@ -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.