Header menu logo B2R2

LinuxSyscall Module

Provides functions to convert Linux syscall numbers to their corresponding syscall types and vice versa.

Functions and values

Function or value Description

LinuxSyscall.ofNumber arch num

Full Usage: LinuxSyscall.ofNumber arch num

Parameters:
    arch : ISA
    num : int

Returns: LinuxSyscall

Return a LinuxSyscall from a given number and architecture.

arch : ISA
num : int
Returns: LinuxSyscall

LinuxSyscall.ofString _arg1

Full Usage: LinuxSyscall.ofString _arg1

Parameters:
    _arg1 : string

Returns: LinuxSyscall

Convert a string to a LinuxSyscall.

_arg1 : string
Returns: LinuxSyscall

LinuxSyscall.toNumber isa syscall

Full Usage: LinuxSyscall.toNumber isa syscall

Parameters:
Returns: int

Gets the syscall number for the given syscall at the given architecture.

isa : ISA
syscall : LinuxSyscall
Returns: int

LinuxSyscall.toString _arg1

Full Usage: LinuxSyscall.toString _arg1

Parameters:
Returns: string

Transform a LinuxSyscall to a string.

_arg1 : LinuxSyscall
Returns: string

Type something to start searching.