From f2f865e7bd3e698f9dfe7fee89717fe21f0cafe2 Mon Sep 17 00:00:00 2001 From: sy03 <1370724210@qq.com> Date: Mon, 23 Dec 2024 16:40:40 +0800 Subject: [PATCH] update build docs of probe_check --- 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.