From 4347db361bab2753811adfe8489eea12c52133a0 Mon Sep 17 00:00:00 2001 From: Sy03 <1370724210@qq.com> Date: Mon, 23 Dec 2024 22:38:05 +0800 Subject: [PATCH] update build docs of probe_check (#35) --- docs/bpftime/documents/build-and-test.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/bpftime/documents/build-and-test.md b/docs/bpftime/documents/build-and-test.md index 04aebcfca..14da897f5 100644 --- a/docs/bpftime/documents/build-and-test.md +++ b/docs/bpftime/documents/build-and-test.md @@ -110,6 +110,8 @@ You may be interested in the following cmake options: - `BUILD_BPFTIME_DAEMON`: Build with the daemon for load the eBPF program into hkernel and se kernel verifier. - `BPFTIME_BUILD_WITH_LIBBPF` :Build bpftime without libbpf. It can only be run in userspace with this enabled, but it can be easily port into other platform, e.g. macOS. - `BPFTIME_BUILD_STATIC_LIB`: Build bpftime runtime into a whole static libraries. It can be easily linked into other programs. +- `ENABLE_PROBE_WRITE_CHECK`: Enable the probe write check. It will check the bpf_probe_write_user operation and report the error if the probe write address is invalid. +- `ENABLE_PROBE_READ_CHECK`: Enable the probe read check. It will check the bpf_probe_write operation and report the error if the probe read address is invalid. Please see forall the build options.