frysk.isa.syscalls
Class LinuxX8664SyscallTable
java.lang.Object
frysk.isa.syscalls.SyscallTable
frysk.isa.syscalls.LinuxX8664SyscallTable
class LinuxX8664SyscallTable
- extends SyscallTable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
syscallList
private static Syscall[] syscallList
LinuxX8664SyscallTable
LinuxX8664SyscallTable()
getSyscall
public Syscall getSyscall(String name)
- Specified by:
getSyscall
in class SyscallTable
- Returns:
- Syscall return system call object if the name could be
found in syscallList, otherwise return null.
getSyscall
public Syscall getSyscall(Task task)
- Description copied from class:
SyscallTable
- Assuming that TASK is at a system-call entry, return the system
call.
- Specified by:
getSyscall
in class SyscallTable
- Parameters:
task
- the task that system call occurred
- Returns:
- the Syscall object
getSyscall
public Syscall getSyscall(long num)
- Description copied from class:
SyscallTable
- Return the NUM'th system call; implemented using findSyscall.
- Specified by:
getSyscall
in class SyscallTable
getNumSyscalls
public long getNumSyscalls()
- Description copied from class:
SyscallTable
- Return the number of syscalls.
- Specified by:
getNumSyscalls
in class SyscallTable