about summary refs log tree commit diff stats
path: root/src/include/core.h
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2025-10-14 15:11:15 +0800
committerGitHub <noreply@github.com>2025-10-14 09:11:15 +0200
commit3d0423acf703be7e0e7b004ee85630f6684bf72e (patch)
treeffd0958823f0cd8a4a2ac2cccfea53ed6ff2350d /src/include/core.h
parent3ad0ddfe880ee2edbc6cd05ce9cb8acb82b34331 (diff)
downloadbox64-3d0423acf703be7e0e7b004ee85630f6684bf72e.tar.gz
box64-3d0423acf703be7e0e7b004ee85630f6684bf72e.zip
Added preliminary unit test runner (#3045)
* Added preliminary unit test runner

* Set .text section address

* Added support for added custom memory regions

* Move json.h to include

* Display banner

* Added support for custom memory data

* Added the ability to include path in nasm

* Print env variables
Diffstat (limited to 'src/include/core.h')
-rw-r--r--src/include/core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/core.h b/src/include/core.h
index c9fec47c..c94eb57b 100644
--- a/src/include/core.h
+++ b/src/include/core.h
@@ -10,4 +10,6 @@ int initialize(int argc, const char **argv, char** env, x64emu_t** emulator, elf
 
 int emulate(x64emu_t* emu, elfheader_t* elf_header);
 
+int unittest(int argc, const char** argv);
+
 #endif // __CORE_H
\ No newline at end of file