Minor decoder optimizations, kernel fixes, cpu backend fixes
This commit is contained in:
@@ -34,7 +34,8 @@ struct InfoCacheFlags {
|
||||
uint32_t was_resolved : 1; // has this address ever been called/requested
|
||||
// via resolvefunction?
|
||||
uint32_t accessed_mmio : 1;
|
||||
uint32_t reserved : 30;
|
||||
uint32_t is_syscall_func : 1;
|
||||
uint32_t reserved : 29;
|
||||
};
|
||||
struct XexInfoCache {
|
||||
struct InfoCacheFlagsHeader {
|
||||
@@ -208,12 +209,15 @@ class XexModule : public xe::cpu::Module {
|
||||
}
|
||||
|
||||
InfoCacheFlags* GetInstructionAddressFlags(uint32_t guest_addr);
|
||||
void PrecompileKnownFunctions();
|
||||
|
||||
virtual void Precompile() override;
|
||||
protected:
|
||||
std::unique_ptr<Function> CreateFunction(uint32_t address) override;
|
||||
|
||||
private:
|
||||
void PrecompileKnownFunctions();
|
||||
void PrecompileDiscoveredFunctions();
|
||||
std::vector<uint32_t> PreanalyzeCode();
|
||||
friend struct XexInfoCache;
|
||||
void ReadSecurityInfo();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user