mirror of
https://github.com/eunomia-bpf/bpf-developer-tutorial.git
synced 2026-04-09 05:40:15 +08:00
Deploying to gh-pages from @ eunomia-bpf/bpf-developer-tutorial@8dae44e69f 🚀
This commit is contained in:
@@ -429,7 +429,7 @@ int BPF_URETPROBE(probe_SSL_do_handshake_exit) {
|
||||
<pre><code class="language-c"> if (env.openssl) {
|
||||
char *openssl_path = find_library_path("libssl.so");
|
||||
printf("OpenSSL path: %s\n", openssl_path);
|
||||
attach_openssl(obj, "/lib/x86_64-linux-gnu/libssl.so.3");
|
||||
attach_openssl(obj, openssl_path);
|
||||
}
|
||||
if (env.gnutls) {
|
||||
char *gnutls_path = find_library_path("libgnutls.so");
|
||||
|
||||
@@ -397,7 +397,7 @@ int main(int argc, char **argv) {
|
||||
if (env.openssl) {
|
||||
char *openssl_path = find_library_path("libssl.so");
|
||||
printf("OpenSSL path: %s\n", openssl_path);
|
||||
attach_openssl(obj, "/lib/x86_64-linux-gnu/libssl.so.3");
|
||||
attach_openssl(obj, openssl_path);
|
||||
}
|
||||
if (env.gnutls) {
|
||||
char *gnutls_path = find_library_path("libgnutls.so");
|
||||
|
||||
@@ -5164,7 +5164,7 @@ int BPF_URETPROBE(probe_SSL_do_handshake_exit) {
|
||||
<pre><code class="language-c"> if (env.openssl) {
|
||||
char *openssl_path = find_library_path("libssl.so");
|
||||
printf("OpenSSL path: %s\n", openssl_path);
|
||||
attach_openssl(obj, "/lib/x86_64-linux-gnu/libssl.so.3");
|
||||
attach_openssl(obj, openssl_path);
|
||||
}
|
||||
if (env.gnutls) {
|
||||
char *gnutls_path = find_library_path("libgnutls.so");
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user