|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object frysk.isa.syscalls.SyscallTable
public abstract class SyscallTable
System call database.
Field Summary | |
---|---|
private static WeakHashMap |
unknownSyscalls
|
Constructor Summary | |
---|---|
SyscallTable()
|
Method Summary | |
---|---|
(package private) Syscall |
findSubcall(Syscall[] subcalls,
long num,
Syscall unknown)
Return the system call responding to N; or UNKNOWN. |
(package private) Syscall |
findSyscall(Syscall[] syscalls,
long num)
Return the system call responding to N; or NULL. |
abstract long |
getNumSyscalls()
Return the number of syscalls. |
abstract Syscall |
getSyscall(long num)
Return the NUM'th system call; implemented using findSyscall. |
abstract Syscall |
getSyscall(String Name)
|
abstract Syscall |
getSyscall(Task task)
Assuming that TASK is at a system-call entry, return the system call. |
(package private) Syscall |
iterateSyscallByName(String name,
Syscall[] syscallList)
Given a system call's name, this will return the corresponding Syscall object. |
(package private) Syscall |
unknownSyscall(long num)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static WeakHashMap unknownSyscalls
Constructor Detail |
---|
public SyscallTable()
Method Detail |
---|
Syscall unknownSyscall(long num)
public abstract Syscall getSyscall(String Name)
Syscall iterateSyscallByName(String name, Syscall[] syscallList)
name
- the name of the system callsyscallList
- system calls list
Syscall findSyscall(Syscall[] syscalls, long num)
Syscall findSubcall(Syscall[] subcalls, long num, Syscall unknown)
public abstract Syscall getSyscall(long num)
public abstract long getNumSyscalls()
public abstract Syscall getSyscall(Task task)
task
- the task that system call occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |