Class LinuxSyscallResolver
java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.LinuxSyscallResolver
Generic Linux syscall number<>name, number<>routineref provider.
-
Method Summary
Modifier and TypeMethodDescriptionstatic LinuxSyscallResolver
getInstance
(ProcessorType procType) getName
(int syscallNumber) getPrototype
(int syscallNumber, ITypeManager typeman) getRoutine
(int syscallNumber, ITypeManager typeman) long
Retrieve the register ID where the syscall number is storedboolean
isSyscall
(IInstruction insn) Indicate is anIInstruction
is a syscall.
-
Method Details
-
getInstance
-
isSyscall
Indicate is anIInstruction
is a syscall. Only implemented for x86 and ARM families.- Parameters:
insn
- instruction to test- Returns:
- true if the instruction is a known syscall, false is the instruction is not a syscall or not managed.
-
getSyscallRegisterId
Retrieve the register ID where the syscall number is stored- Parameters:
insn
- syscall instruction- Returns:
-
getName
-
getPrototype
-
getRoutine
-