// This file is part of ubpf. It is subject to the license terms in the COPYRIGHT file found in the top-level directory of this distribution and at https://raw.githubusercontent.com/lemonrock/ubpf/master/COPYRIGHT. No part of predicator, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the COPYRIGHT file.
// Copyright © 2017 The developers of ubpf. See the COPYRIGHT file in the top-level directory of this distribution and at https://raw.githubusercontent.com/lemonrock/ubpf/master/COPYRIGHT.
/// Safely attempts to read (derefeence) `size` bytes from the address `src` and store the data in `dst`, where `dst` is a reference to a variable on the BPF program's stack.
///
/// Allows program verification of memory accesses and of dereferencing pointers.
///
/// Returns zero (0) on success and a negative value on failure.
///
/// `void bpf_probe_read(void * dst, u32 size, const void * src)`