windows library

Constants

windows → const WindowsNamespace

Functions

apiCall({required CallingConvention cc, List<CType> params = const [], CType? restype, required ApiHookCallback cb}) → ApiHook
configureNativeLibrary(String path) → void
createApplication(String application, {List<String> arguments = const [], Map<String, String>? environment, String emulationRoot = '', String workingDirectory = '', bool disableLogging = false, bool useRelativeTime = false, String registryDirectory = './registry', Map<String, String> pathMappings = const {}, Map<int, int> portMappings = const {}, int numberOfProcessors = 4, int ntProductType = 1, Backend backend = Backend.unicorn}) → WindowsApplication
createEmpty({String emulationRoot = '', bool disableLogging = false, bool useRelativeTime = false, String registryDirectory = './registry', Map<String, String> pathMappings = const {}, Map<int, int> portMappings = const {}, int numberOfProcessors = 4, int ntProductType = 1, Backend backend = Backend.unicorn}) → WindowsApplication

Typedefs

ApiHookCallback = dynamic Function(ApiCall call, List params)
BasicBlockHookCallback = void Function(BasicBlock block)
DebugStringCallback = void Function(String path)
ExceptionCallback = void Function()
ExecutionHookCallback = void Function(int address)
GenericAccessCallback = void Function(String type, String name)
GenericActivityCallback = void Function(String path)
InstructionCallback = void Function(int address)
InstructionHookCallback = Object? Function(int data)
InterruptHookCallback = void Function(int address)
IoctrlCallback = void Function(String deviceName, int code)
MemoryAllocateCallback = void Function(int address, int length, MemoryPermission permission, bool commit)
MemoryHookCallback = void Function(int address, Uint8List data)
MemoryOperation = MemoryPermission
MemoryProtectCallback = void Function(int address, int length, MemoryPermission permission)
MemoryViolateCallback = Object? Function(int address, int length, MemoryOperation operation, MemoryViolationType type)
MemoryViolationHookCallback = Object? Function(int address, int size, MemoryOperation operation, MemoryViolationType type)
ModuleLoadCallback = void Function(MappedModule module)
ModuleUnloadCallback = void Function(MappedModule module)
RdtscCallback = void Function()
RdtscpCallback = void Function()
StdoutCallback = void Function(String path)
SuspiciousActivityCallback = void Function(String path)
SyscallCallback = Object? Function(int syscallId, String syscallName)
ThreadCreateCallback = void Function(int handle, int threadId, int startAddress, int argument)
ThreadSetNameCallback = void Function(int threadId, String name)
ThreadSwitchCallback = void Function(int currentThreadId, int newThreadId)
ThreadTerminatedCallback = void Function(int currentThreadId, int newThreadId)