|
The Pedigree Project
0.1
|
#include <DynamicLinker.h>
Inheritance diagram for DLTrapHandler:
Collaboration diagram for DLTrapHandler:Public Member Functions | |
| virtual bool | trap (InterruptState &state, uintptr_t address, bool bIsWrite) |
Static Public Member Functions | |
| static DLTrapHandler & | instance () |
Private Member Functions | |
| DLTrapHandler () | |
| ~DLTrapHandler () | |
Static Private Attributes | |
| static DLTrapHandler | m_Instance |
Tiny class for dispatching MemoryTrap events to DynamicLinkers. A MemoryTrap event will occur when a page of an ELF has yet to be loaded.
Definition at line 129 of file DynamicLinker.h.
|
private |
Private constructor - does nothing.
Definition at line 444 of file DynamicLinker.cc.
References PageFaultHandler::instance(), and PageFaultHandler::registerHandler().
|
private |
Private destructor - does nothing, not expected to be called.
Definition at line 449 of file DynamicLinker.cc.
|
inlinestatic |
Retrieve the singleton DLTrapHandler instance.
Definition at line 133 of file DynamicLinker.h.
|
virtual |
Trap event handler.
| address | The address of the trap. |
| bIsWrite | True if the trap was caused by a write, false if by a read. |
Implements MemoryTrapHandler.
Definition at line 453 of file DynamicLinker.cc.
References Processor::information(), KernelCoreSyscallManager::instance(), KernelCoreSyscallManager::link, KernelCoreSyscallManager::registerSyscall(), DynamicLinker::resolvePlt(), and DynamicLinker::trap().
1.8.11