frysk.isa.syscalls
Class LinuxX8664SyscallTable

java.lang.Object
  extended by frysk.isa.syscalls.SyscallTable
      extended by frysk.isa.syscalls.LinuxX8664SyscallTable

 class LinuxX8664SyscallTable
extends SyscallTable


Nested Class Summary
private static class LinuxX8664SyscallTable.X8664Syscall
           
 
Field Summary
private static Syscall[] syscallList
           
 
Constructor Summary
LinuxX8664SyscallTable()
           
 
Method Summary
 long getNumSyscalls()
          Return the number of syscalls.
 Syscall getSyscall(long num)
          Return the NUM'th system call; implemented using findSyscall.
 Syscall getSyscall(String name)
           
 Syscall getSyscall(Task task)
          Assuming that TASK is at a system-call entry, return the system call.
 
Methods inherited from class frysk.isa.syscalls.SyscallTable
findSubcall, findSyscall, iterateSyscallByName, unknownSyscall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

syscallList

private static Syscall[] syscallList
Constructor Detail

LinuxX8664SyscallTable

LinuxX8664SyscallTable()
Method Detail

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