mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 08:48:13 +00:00
fix regress/map_crash.c so it does not crash any more
This commit is contained in:
parent
36f30bbf50
commit
79effb2df5
2 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,9 @@
|
|||
.PHONY: all clean
|
||||
|
||||
CFLAGS+=-I../include
|
||||
LDFLAGS=-L.. -lunicorn
|
||||
|
||||
TESTS=map_crash map_regs
|
||||
TESTS = map_crash
|
||||
|
||||
all: $(TESTS)
|
||||
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
#define UC_BUG_WRITE_SIZE 13000
|
||||
#define UC_BUG_WRITE_ADDR 0x1000
|
||||
//#define UC_BUG_WRITE_ADDR 0x1000
|
||||
#define UC_BUG_WRITE_ADDR 0x2000
|
||||
|
||||
int main() {
|
||||
int size;
|
||||
|
|
Loading…
Reference in a new issue