|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object frysk.isa.syscalls.Syscall
public abstract class Syscall
A class that holds static information about a system call. It is
used in combination with SyscallEventInfo
and the
task to get information about a particular system call event.
Field Summary | |
---|---|
static Syscall |
INVALID
|
Method Summary | |
---|---|
boolean |
equals(Object other)
Return true if this object equals the argument. |
String[] |
extractCallArguments(Task task)
Get call arguments as a vector of Objects. |
String |
extractReturnValue(Task task)
Extract system call return value. |
String |
getArgList()
Return the argument list. |
abstract long |
getArguments(Task task,
int n)
|
String |
getName()
Return the name of the system call. |
int |
getNumArgs()
Return the number of arguments. |
int |
getNumber()
Return the system call's number. |
abstract long |
getReturnCode(Task task)
|
boolean |
isNoReturn()
Does the system call return a result? |
PrintWriter |
printCall(PrintWriter writer,
Task task)
Print a textual representation of a system call. |
PrintWriter |
printReturn(PrintWriter writer,
Task task)
Print a textual representation of the return result of a system call. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Syscall INVALID
Method Detail |
---|
public String getName()
public int getNumber()
public int getNumArgs()
public String getArgList()
public boolean isNoReturn()
public boolean equals(Object other)
equals
in class Object
public abstract long getArguments(Task task, int n)
public abstract long getReturnCode(Task task)
public String[] extractCallArguments(Task task)
task
- the task which supplies information about the
argumentspublic PrintWriter printCall(PrintWriter writer, Task task)
writer
- where to print the representationtask
- the task which supplies information about the
arguments
public String toString()
toString
in class Object
public String extractReturnValue(Task task)
public PrintWriter printReturn(PrintWriter writer, Task task)
writer
- where to print the representationtask
- the task which supplies information about the
return value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |