about summary refs log tree commit diff stats
path: root/src/wrapped
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-06-17 12:08:43 +0200
committerptitSeb <sebastien.chev@gmail.com>2023-06-17 12:08:43 +0200
commit1b47fd952caa889c252223b1996a06444d10e2fc (patch)
tree5b45ad0b419a8106088ac9a5ca96590350ff6a3a /src/wrapped
parentbf9e5b8e6e3b42768a787f1a3d3c1f423d1fb38f (diff)
downloadbox64-1b47fd952caa889c252223b1996a06444d10e2fc.tar.gz
box64-1b47fd952caa889c252223b1996a06444d10e2fc.zip
Added ability to trace and dump 32bits code
Diffstat (limited to 'src/wrapped')
-rwxr-xr-xsrc/wrapped/wrappedlibc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibc.c b/src/wrapped/wrappedlibc.c
index af756f79..cac42fd0 100755
--- a/src/wrapped/wrappedlibc.c
+++ b/src/wrapped/wrappedlibc.c
@@ -437,7 +437,7 @@ void EXPORT my___stack_chk_fail(x64emu_t* emu)
     if(cycle_log) {
         print_cycle_log(LOG_INFO);
     }
-    StopEmu(emu, buff);
+    StopEmu(emu, buff, emu->segs[_CS]==0x23);
 }
 void EXPORT my___gmon_start__(x64emu_t *emu)
 {