Class EEmuUtil
java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.emulator.EEmuUtil
Utility code
IR emulators
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic long
setupGenericThreadLocalStorageInfo
(EEmulator emu, long pageAddress, boolean allocAndWrite) Set-up platform-specific structures used for thread local storage (TLS) -like information.
-
Constructor Details
-
EEmuUtil
public EEmuUtil()
-
-
Method Details
-
setupGenericThreadLocalStorageInfo
public static long setupGenericThreadLocalStorageInfo(EEmulator emu, long pageAddress, boolean allocAndWrite) Set-up platform-specific structures used for thread local storage (TLS) -like information. This routine works on a best-effort basis.- Parameters:
emu
- emulatorpageAddress
- base address for TLS dataallocAndWrite
- if true, a page for TLS data will be allocated (preferably at the provided address), and pseudo TLS values will be written on that page- Returns:
- the actual TLS base address
-