Module libafl::bolts::os[][src]

Expand description

Operating System specific abstractions

Modules

ashmem_server

On Android, we can only share maps between processes by serializing fds over sockets. Hence, the ashmem_server keeps track of existing maps, creates new maps for clients, and forwards them over unix domain sockets.

pipes

Unix pipe wrapper for LibAFL

unix_signals

Signal handling for unix

Structs

ChildHandle

Child Process Handle

Enums

ForkResult

The ForkResult (result of a fork)

Functions

dup2

“Safe” wrapper around dup2

fork

Unix has forks.

parse_core_bind_arg

Parses core binding args from user input Returns a Vec of CPU IDs. ./fuzzer --cores 1,2-4,6 -> clients run in cores 1,2,3,4,6 ./fuzzer --cores all -> one client runs on each available core

startable_self

Executes the current process from the beginning, as subprocess. use start_self.status()? to wait for the child