Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Officeyutong committed Jun 13, 2024
1 parent b4e37a2 commit e17fac4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/agent/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ add_library(bpftime-agent SHARED
agent.cpp
)
add_dependencies(bpftime-agent FridaGum spdlog::spdlog bpftime_frida_uprobe_attach_impl bpftime_syscall_trace_attach_impl)
set_property(TARGET bpftime-agent PROPERTY CXX_STANDARD 20)
set_target_properties(bpftime-agent PROPERTIES CXX_STANDARD 20)
target_link_options(bpftime-agent PRIVATE -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/agent.version)
target_include_directories(bpftime-agent
PRIVATE
${FRIDA_GUM_INSTALL_DIR}
Expand Down
4 changes: 4 additions & 0 deletions runtime/agent/agent.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
global: injected_with_frida; bpftime_hooked_main; __libc_start_main; bpftime_agent_main; syscall_callback; _bpftime__setup_syscall_trace_callback;
local: *;
};

0 comments on commit e17fac4

Please sign in to comment.