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

Expand description

Operating System specific abstractions

Modules

Unix pipe wrapper for LibAFL

On Android, we can only share maps between processes by serializing fds over sockets. On MacOS, we cannot rely on reference counting for Maps. Hence, the unix_shmem_server keeps track of existing maps, creates new maps for clients, and forwards them over unix domain sockets.

Signal handling for unix

Structs

Child Process Handle

Enums

The ForkResult (result of a fork)

Functions

“Safe” wrapper around dup2

Unix has forks.

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

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