about summary refs log tree commit diff stats
path: root/src/include/bridge.h
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2025-04-01 18:36:12 +0800
committerGitHub <noreply@github.com>2025-04-01 12:36:12 +0200
commit670876112e3ab4a36205223a6f0c4290a527c4a9 (patch)
tree7d13933149ff9b438ae1002621ec7db31676c4ee /src/include/bridge.h
parent495d3cc4c0ec521e932677ac3d2fcad2c3d80eca (diff)
downloadbox64-670876112e3ab4a36205223a6f0c4290a527c4a9.tar.gz
box64-670876112e3ab4a36205223a6f0c4290a527c4a9.zip
Some cosmetic changes to C header files (#2487)
* [DYNAREC] Move cosim functions to a new header

* Moved isNativeCall to elfloader
Diffstat (limited to 'src/include/bridge.h')
-rw-r--r--src/include/bridge.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/bridge.h b/src/include/bridge.h
index 6202707d..e87e5d45 100644
--- a/src/include/bridge.h
+++ b/src/include/bridge.h
@@ -30,4 +30,7 @@ const char* getBridgeName(void* addr);
 void init_bridge_helper(void);
 void fini_bridge_helper(void);
 
-#endif //__BRIDGE_H_
\ No newline at end of file
+// Is what pointed at addr a native call? And if yes, to what function?
+int isNativeCall(uintptr_t addr, int is32bits, uintptr_t* calladdress, uint16_t* retn);
+
+#endif //__BRIDGE_H_