cbe_rbpf 0.2.38

Virtual machine and JIT compiler for eBPF programs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/**
 * @brief Syscall function used in the BPF to BPF call test
 */

#include "syscalls.h"
#include "multiple_file.h"

uint64_t function_foo(uint64_t x) {
  log(__func__, sizeof(__func__));
  if (x) {
    x = function_bar(--x);
  }
  return x;
}