unicorn libcompcov testcase made easier
MODIFY
unicorn_mode/samples/compcov_x64/compcov_target.bin
unicorn_mode/samples/compcov_x64/compcov_target.bin
Binary files a/unicorn_mode/samples/compcov_x64/compcov_target.bin and b/unicorn_mode/samples/compcov_x64/compcov_target.bin differ

MODIFY
unicorn_mode/samples/compcov_x64/compcov_target.c
unicorn_mode/samples/compcov_x64/compcov_target.c
int main(void) {
unsigned int *data_buf = (unsigned int *) DATA_ADDRESS;
- if (((unsigned short*)data_buf)[0] == 0xaabb) {
+ if (((unsigned short*)data_buf)[0] == 0x0100) {
unsigned char invalid_read = *(unsigned char *) 0x00000000;
- } else if (data_buf[1] == data_buf[2] + 0x4141) {
+ } else if (data_buf[1] == data_buf[2] + 0xfffe) {
unsigned char invalid_read = *(unsigned char *) 0x00000000;
}

MODIFY
unicorn_mode/samples/compcov_x64/compcov_target.elf
unicorn_mode/samples/compcov_x64/compcov_target.elf
Binary files a/unicorn_mode/samples/compcov_x64/compcov_target.elf and b/unicorn_mode/samples/compcov_x64/compcov_target.elf differ

unicorn libcompcov testcase made easier