aboutsummaryrefslogtreecommitdiff
path: root/test/elf_parser/test.cc
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2025-01-27 01:20:19 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2025-01-27 01:33:00 +0100
commit2a26c1506192468be6c4cd06465bee861d87db51 (patch)
tree9ae5fc333e61c2478dfc57842daeacbf1dc78867 /test/elf_parser/test.cc
parent3f62112e3a1b180a9b931d6f43b3cdc74e7ba3b9 (diff)
downloadcpp-utils-2a26c1506192468be6c4cd06465bee861d87db51.tar.gz
cpp-utils-2a26c1506192468be6c4cd06465bee861d87db51.zip
elf: simple elf-parser for dynamic symbolsHEADmain
Diffstat (limited to 'test/elf_parser/test.cc')
-rw-r--r--test/elf_parser/test.cc7
1 files changed, 7 insertions, 0 deletions
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;
+}