package ubpf
OCaml bindings for userspace eBPF VM
Install
Dune Dependency
Authors
Maintainers
Sources
0.1.tar.gz
sha256=be7eb6623049a16dd37a8dc3577f4fa5673c655a0486747bd6eebe28a55a6940
md5=481ebf53773aa84fe5926ac8fb942e8a
doc/src/ubpf/ubpf.ml.html
Source file ubpf.ml
1 2 3 4 5 6 7 8 9 10 11 12 13
type t external load : string -> elf:bool -> t = "ml_bpf_load" external jit_compile : t -> unit = "ml_bpf_compile" external exec : t -> string -> int = "ml_bpf_exec" external release : t -> unit = "ml_bpf_close" let load = function | `Bpf s -> load s ~elf:false | `Elf s -> load s ~elf:true let compile code = let t = load code in jit_compile t; t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>