From 2a26c1506192468be6c4cd06465bee861d87db51 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Mon, 27 Jan 2025 01:20:19 +0100 Subject: elf: simple elf-parser for dynamic symbols --- test/elf_parser/test.cc | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/elf_parser/test.cc (limited to 'test/elf_parser/test.cc') diff --git a/test/elf_parser/test.cc b/test/elf_parser/test.cc new file mode 100644 index 0000000..7cc71dd --- /dev/null +++ b/test/elf_parser/test.cc @@ -0,0 +1,7 @@ +extern "C" int exported_func_c(int x) { + return x + 1; +} + +int exported_func_cpp(int x) { + return x + 1; +} -- cgit v1.2.3