From c9cbeced5b3f2bdd7407e29c0811e65954132540 Mon Sep 17 00:00:00 2001 From: Root THC Date: Tue, 24 Feb 2026 12:42:47 +0000 Subject: initial --- other/Kermit/test/test_systemmap.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 other/Kermit/test/test_systemmap.cpp (limited to 'other/Kermit/test/test_systemmap.cpp') diff --git a/other/Kermit/test/test_systemmap.cpp b/other/Kermit/test/test_systemmap.cpp new file mode 100644 index 0000000..41179c1 --- /dev/null +++ b/other/Kermit/test/test_systemmap.cpp @@ -0,0 +1,15 @@ +#include +#include +#include + + +int main () +{ + SystemMap a = SystemMap ("System.map"); + cout.setf (ios::hex, ios::basefield); + + cout << "sys_fork " << a[string ("sys_fork")] << endl; + cout << "sys_write " << a[string ("sys_write")] << endl; + cout << "init " << a[string ("init")] << endl; + return 0; +} -- cgit v1.3