MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / GetTLS

Function GetTLS

Source/Windows/WOW64/Module.cpp:142–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142TLS GetTLS() {
143 return TLS {NtCurrentTeb()};
144}
145
146uint64_t GetWowTEB(void* TEB) {
147 static constexpr size_t WowTEBOffsetMemberOffset {0x180c};

Callers 13

IsAddressInJitFunction · 0.85
ReconstructThreadStateFunction · 0.85
ReconstructWowContextFunction · 0.85
HandleUnalignedAccessFunction · 0.85
LockJITContextFunction · 0.85
UnlockJITContextFunction · 0.85
HandleSuspendInterruptFunction · 0.85
HandleSyscallMethod · 0.85
BTCpuProcessInitFunction · 0.85
BTCpuThreadInitFunction · 0.85
BTCpuSimulateImplFunction · 0.85
BTCpuSuspendLocalThreadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected