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

Expand description

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.

Structs

AshmemService

The AshmemService is a service handing out ShMem pages via unix domain sockets. It is mainly used and needed on Android.

ServedShMem

ShMem that got served from a AshmemService via domain sockets and can now be used in this program. It works around Android’s lack of “proper” shared maps.

ServedShMemProvider

Hands out served shared maps, as used on Android.

Enums

AshmemRequest

A request sent to the ShMem server to receive a fd to a shared map