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 LinuxSyscallResolvergetInstance(ProcessorType procType) getName(int syscallNumber) getPrototype(int syscallNumber, ITypeManager typeman) getRoutine(int syscallNumber, ITypeManager typeman) longRetrieve the register ID where the syscall number is storedbooleanisSyscall(IInstruction insn) Indicate is anIInstructionis a syscall.
-
Method Details
-
getInstance
-
isSyscall
Indicate is anIInstructionis 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
-