All Projects → LK4D4 → syscallpp

LK4D4 / syscallpp

Licence: MIT license
Pretty Printer for syscalls

Programming Languages

go
31211 projects - #10 most used programming language

Syscall Pretty Printer

Helps you to convert syscall numbers to syscall names and back. Also can be helpful for parsing ptrace.

Example

package main

import (
	"fmt"

	"github.com/LK4D4/syscallpp"
)

func main() {
	name := syscallpp.GetName(0)
	num := syscallpp.GetNum("readahead")
	fmt.Printf("%s: %d\n", name, 0)
	fmt.Printf("%s: %d\n", "readahead", num)
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].