# Class: com.pnfsoftware.jeb.core.units.code.asm.LinuxSyscallResolver

Generic Linux syscall number\-to\-name and number\-to\-routine provider.

## Method: getName
- parameter: `syscallNumber`, type: `int`
- return type: `java.lang.String`

Description: Retrieve a syscall name.
parameter: syscallNumber: syscall number
return: syscall name, or null if unknown

## Method: getPrototype
- parameter: `syscallNumber`, type: `int`
- parameter: `typeman`, type: `com.pnfsoftware.jeb.core.units.code.asm.type.ITypeManager`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.type.IPrototypeItem`

Description: Retrieve a syscall prototype from available type libraries.
parameter: syscallNumber: syscall number
parameter: typeman: type manager
return: prototype, or null if unavailable

## Method: getRoutine
- parameter: `syscallNumber`, type: `int`
- parameter: `typeman`, type: `com.pnfsoftware.jeb.core.units.code.asm.type.ITypeManager`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.items.INativeMethodItem`

Description: Retrieve a syscall routine from available type libraries.
parameter: syscallNumber: syscall number
parameter: typeman: type manager
return: routine, or null if unavailable

## Method: getSyscallRegisterId
- parameter: `insn`, type: `com.pnfsoftware.jeb.core.units.code.IInstruction`
- return type: `long`

Description: Retrieve the register ID where the syscall number is stored
parameter: insn: syscall instruction
return: register identifier, or \-1 if unsupported

## Method: isSyscall
- parameter: `insn`, type: `com.pnfsoftware.jeb.core.units.code.IInstruction`
- return type: `boolean`

Description: Indicate is an [IInstruction](IInstruction) is a syscall. Only implemented for x86 and ARM families.
parameter: insn: instruction to test
return: true if the instruction is a known syscall, false is the instruction is not a syscall         or not managed.

## Static Method: getInstance
- parameter: `procType`, type: `com.pnfsoftware.jeb.core.units.codeobject.ProcessorType`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.LinuxSyscallResolver`

Description: Retrieve the syscall resolver for a processor type.
parameter: procType: processor type
return: resolver instance, or null if the processor type is unsupported

