mirror of
https://github.com/FEX-Emu/FEX.git
synced 2024-12-15 18:08:35 +00:00
CodeSizeValidation: Fixes nullptr dereference
This commit is contained in:
parent
398e76be89
commit
a2c2b042b2
@ -382,7 +382,7 @@ int main(int argc, char **argv, char **const envp) {
|
|||||||
// Enable block disassembly.
|
// Enable block disassembly.
|
||||||
FEXCore::Config::EraseSet(FEXCore::Config::CONFIG_DISASSEMBLE, fextl::fmt::format("{}", static_cast<uint64_t>(FEXCore::Config::Disassemble::BLOCKS | FEXCore::Config::Disassemble::STATS)));
|
FEXCore::Config::EraseSet(FEXCore::Config::CONFIG_DISASSEMBLE, fextl::fmt::format("{}", static_cast<uint64_t>(FEXCore::Config::Disassemble::BLOCKS | FEXCore::Config::Disassemble::STATS)));
|
||||||
// Choose bitness.
|
// Choose bitness.
|
||||||
FEXCore::Config::EraseSet(FEXCore::Config::CONFIG_IS64BIT_MODE, TestHeaderData->Bitness == 64 ? "1" : 0);
|
FEXCore::Config::EraseSet(FEXCore::Config::CONFIG_IS64BIT_MODE, TestHeaderData->Bitness == 64 ? "1" : "0");
|
||||||
|
|
||||||
// Host feature override. Only supports overriding SVE width.
|
// Host feature override. Only supports overriding SVE width.
|
||||||
enum HostFeatures {
|
enum HostFeatures {
|
||||||
|
Loading…
Reference in New Issue
Block a user