Skip to content

Commit 30505f0

Browse files
committed
Add playground sample
1 parent de34ae4 commit 30505f0

File tree

3 files changed

+767
-0
lines changed

3 files changed

+767
-0
lines changed

CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1308,6 +1308,7 @@ endif()
13081308
set(UNICORN_TEST_FILE ${UNICORN_TEST_FILE} test_mem)
13091309
set(UNICORN_TEST_FILE ${UNICORN_TEST_FILE} test_ctl)
13101310
set(UNICORN_SAMPLE_FILE ${UNICORN_SAMPLE_FILE} sample_ctl)
1311+
set(UNICORN_SAMPLE_FILE ${UNICORN_SAMPLE_FILE} sample_playground)
13111312

13121313
if(UNICORN_TRACER)
13131314
target_compile_options(unicorn-common PRIVATE -DUNICORN_TRACER)

samples/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ UNICORN_ARCHS := $(shell if [ -e ../config.log ]; then cat ../config.log;\
6262
else printf "$(UNICORN_ARCHS)"; fi)
6363

6464
SOURCES =
65+
SOURCES += sample_playground.c
6566
ifneq (,$(findstring arm,$(UNICORN_ARCHS)))
6667
SOURCES += sample_arm.c
6768
SOURCES += sample_armeb.c

0 commit comments

Comments
 (0)