The Pedigree Project  0.1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
PosixSyscallManager Class Reference
+ Inheritance diagram for PosixSyscallManager:
+ Collaboration diagram for PosixSyscallManager:

Public Member Functions

void initialise ()
 
uintptr_t call (uintptr_t function, uintptr_t p1=0, uintptr_t p2=0, uintptr_t p3=0, uintptr_t p4=0, uintptr_t p5=0)
 
virtual uintptr_t syscall (SyscallState &state)
 
 PosixSyscallManager ()
 
virtual ~PosixSyscallManager ()
 

Private Member Functions

 PosixSyscallManager (const PosixSyscallManager &)
 
PosixSyscallManageroperator= (const PosixSyscallManager &)
 

Private Attributes

Tree< size_t, bool > m_SeenUnknownSyscalls
 

Additional Inherited Members

- Protected Member Functions inherited from SyscallHandler
virtual ~SyscallHandler ()
 

Detailed Description

Definition at line 27 of file PosixSyscallManager.h.

Constructor & Destructor Documentation

PosixSyscallManager::PosixSyscallManager ( )

The constructor

Definition at line 49 of file PosixSyscallManager.cc.

PosixSyscallManager::~PosixSyscallManager ( )
virtual

The destructor

Definition at line 53 of file PosixSyscallManager.cc.

References SyscallManager::instance(), and SyscallManager::registerSyscallHandler().

PosixSyscallManager::PosixSyscallManager ( const PosixSyscallManager )
private

The copy-constructor

Note
Not implemented (singleton)

Member Function Documentation

uintptr_t PosixSyscallManager::call ( uintptr_t  function,
uintptr_t  p1 = 0,
uintptr_t  p2 = 0,
uintptr_t  p3 = 0,
uintptr_t  p4 = 0,
uintptr_t  p5 = 0 
)

Calls a syscall.

Definition at line 63 of file PosixSyscallManager.cc.

References Dec, ERROR, SyscallManager::instance(), and SyscallManager::syscall().

PosixSyscallManager& PosixSyscallManager::operator= ( const PosixSyscallManager )
private

The copy-constructor

Note
Not implemented (singleton)
uintptr_t PosixSyscallManager::syscall ( SyscallState &  state)
virtual

Member Data Documentation

Tree<size_t, bool> PosixSyscallManager::m_SeenUnknownSyscalls
private

Records seen unknown syscalls so we don't spam logs.

Definition at line 53 of file PosixSyscallManager.h.

Referenced by syscall().


The documentation for this class was generated from the following files: