unicorn/samples
Stephen bc08bfda67 Unit testing in CI (#651)
- in appveyor, install clang and cmake in cygwin, enable package upgrades, and build cmocka and enable testing for gcc only
- in `gitignore`, ignore generated cmocka folder
- in travis, use brew in osx to install cmocka, and enable testing for gcc and clang on os x and linux
- in `Makefile`, change to use `uname -s` to determine os type
- make `install-cmocka-linux.sh`, a simple shell script to download and install cmocka on linux
- in `bindings/Makefile`, enable `make -c` to call subdirectory makefiles instead of `cd [dir] && make` and include environment variables for runtime access to generated libraries
- in `samples/Makefile`, change to use `uname -s` to determine os type, remove `clean_bins` from `all` command, and include `Werror` for compile strictness
- in `tests/unit/Makefile`, add `cflags` for compile time access to cmocka headers and library, include execute vars for runtime access to cmocka and unicorn libs
- in `tests/unit/test_tb_x86.c`, comment out assert that would not compile
2016-10-22 00:21:10 +08:00
..
msvc Added previously ignored project dirs to MSVC support for unicorn samples. 2015-12-08 19:26:53 +11:00
.gitignore samples: more flexible .gitignore 2016-06-16 09:23:00 +08:00
Makefile Unit testing in CI (#651) 2016-10-22 00:21:10 +08:00
mem_apis.c uc_hook_add(): add begin & end arguments for all hook types. also update Python binding after this change 2016-02-11 08:02:13 +08:00
sample_all.sh samples: cleanup & put mem_apis into sample_all.sh 2015-09-05 09:42:47 +08:00
sample_arm64.c uc_hook_add(): add begin & end arguments for all hook types. also update Python binding after this change 2016-02-11 08:02:13 +08:00
sample_arm.c Fixed ARM sample to properly run THUMB code #638 2016-09-20 10:15:58 +02:00
sample_batch_reg.c samples: fix warning on printing 64bit int in sample_batch_reg.c 2016-04-18 12:54:21 +08:00
sample_m68k.c uc_hook_add(): add begin & end arguments for all hook types. also update Python binding after this change 2016-02-11 08:02:13 +08:00
sample_mips.c uc_hook_add(): add begin & end arguments for all hook types. also update Python binding after this change 2016-02-11 08:02:13 +08:00
sample_sparc.c uc_hook_add(): add begin & end arguments for all hook types. also update Python binding after this change 2016-02-11 08:02:13 +08:00
sample_x86_32_gdt_and_seg_regs.c pack SegmentDescriptor to eliminate any alignment ambiguity 2016-03-28 09:29:55 -07:00
sample_x86.c samples: fix print format specifies for uint64_t 2016-08-23 06:57:33 +08:00
shellcode.c uc_hook_add(): add begin & end arguments for all hook types. also update Python binding after this change 2016-02-11 08:02:13 +08:00