summaryrefslogtreecommitdiff
path: root/src/arch/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/mod.rs')
-rw-r--r--src/arch/mod.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/mod.rs b/src/arch/mod.rs
index 057cec9..d34a135 100644
--- a/src/arch/mod.rs
+++ b/src/arch/mod.rs
@@ -1 +1,7 @@
+#![allow(dead_code)]
pub mod linux;
+
+/// Generic `syscalll_name` called by a not-defined table
+pub fn syscall_name(rax: u64) -> String {
+ rax.to_string()
+}