Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Chris Eagle 2015-08-26 08:25:37 -07:00
commit 095cdb5f9d
38 changed files with 12 additions and 1 deletions

View file

@ -249,7 +249,7 @@ else
endif
install: compile_lib $(PKGCFGF)
install: all $(PKGCFGF)
mkdir -p $(LIBDIR)
ifeq ($(UNICORN_SHARED),yes)
$(INSTALL_LIB) $(LIBRARY) $(LIBDIR)

0
bindings/java/Makefile Executable file → Normal file
View file

0
bindings/java/samples/Sample_arm.java Executable file → Normal file
View file

0
bindings/java/samples/Sample_arm64.java Executable file → Normal file
View file

0
bindings/java/samples/Sample_m68k.java Executable file → Normal file
View file

0
bindings/java/samples/Sample_mips.java Executable file → Normal file
View file

0
bindings/java/samples/Sample_sparc.java Executable file → Normal file
View file

0
bindings/java/samples/Sample_x86.java Executable file → Normal file
View file

0
bindings/java/samples/Shellcode.java Executable file → Normal file
View file

0
bindings/java/unicorn/Arm64Regs.java Executable file → Normal file
View file

0
bindings/java/unicorn/ArmRegs.java Executable file → Normal file
View file

0
bindings/java/unicorn/BlockHook.java Executable file → Normal file
View file

0
bindings/java/unicorn/CodeHook.java Executable file → Normal file
View file

0
bindings/java/unicorn/Hook.java Executable file → Normal file
View file

0
bindings/java/unicorn/InHook.java Executable file → Normal file
View file

0
bindings/java/unicorn/InterruptHook.java Executable file → Normal file
View file

0
bindings/java/unicorn/M68kRegs.java Executable file → Normal file
View file

0
bindings/java/unicorn/MemoryInvalidHook.java Executable file → Normal file
View file

0
bindings/java/unicorn/MipsRegs.java Executable file → Normal file
View file

0
bindings/java/unicorn/OutHook.java Executable file → Normal file
View file

0
bindings/java/unicorn/ReadHook.java Executable file → Normal file
View file

0
bindings/java/unicorn/ReadWriteHook.java Executable file → Normal file
View file

0
bindings/java/unicorn/SparcRegs.java Executable file → Normal file
View file

0
bindings/java/unicorn/SyscallHook.java Executable file → Normal file
View file

0
bindings/java/unicorn/Unicorn.java Executable file → Normal file
View file

0
bindings/java/unicorn/UnicornArchs.java Executable file → Normal file
View file

0
bindings/java/unicorn/UnicornErrors.java Executable file → Normal file
View file

0
bindings/java/unicorn/UnicornException.java Executable file → Normal file
View file

0
bindings/java/unicorn/UnicornHooks.java Executable file → Normal file
View file

0
bindings/java/unicorn/UnicornModes.java Executable file → Normal file
View file

0
bindings/java/unicorn/WriteHook.java Executable file → Normal file
View file

0
bindings/java/unicorn/X86Instructions.java Executable file → Normal file
View file

0
bindings/java/unicorn/X86Regs.java Executable file → Normal file
View file

0
bindings/java/unicorn_Unicorn.c Executable file → Normal file
View file

View file

@ -198,6 +198,8 @@ WORD_TYPE helper_le_ld_name(CPUArchState *env, target_ulong addr, int mmu_idx,
// printf("***** Invalid memory read at " TARGET_FMT_lx "\n", addr);
cpu_exit(env->uc->current_cpu);
return 0;
} else {
env->invalid_error = UC_ERR_OK;
}
}
@ -233,6 +235,8 @@ WORD_TYPE helper_le_ld_name(CPUArchState *env, target_ulong addr, int mmu_idx,
// printf("Invalid memory read at " TARGET_FMT_lx "\n", addr);
cpu_exit(env->uc->current_cpu);
return 0;
} else {
env->invalid_error = UC_ERR_OK;
}
/* ??? Note that the io helpers always read data in the target
@ -316,6 +320,8 @@ WORD_TYPE helper_be_ld_name(CPUArchState *env, target_ulong addr, int mmu_idx,
// printf("***** Invalid memory read at " TARGET_FMT_lx "\n", addr);
cpu_exit(env->uc->current_cpu);
return 0;
} else {
env->invalid_error = UC_ERR_OK;
}
}
@ -474,6 +480,8 @@ void helper_le_st_name(CPUArchState *env, target_ulong addr, DATA_TYPE val,
// printf("***** Invalid memory write at " TARGET_FMT_lx "\n", addr);
cpu_exit(env->uc->current_cpu);
return;
} else {
env->invalid_error = UC_ERR_OK;
}
}
@ -586,6 +594,8 @@ void helper_be_st_name(CPUArchState *env, target_ulong addr, DATA_TYPE val,
// printf("***** Invalid memory write at " TARGET_FMT_lx "\n", addr);
cpu_exit(env->uc->current_cpu);
return;
} else {
env->invalid_error = UC_ERR_OK;
}
}

0
regress/Makefile Executable file → Normal file
View file

0
regress/block_test.c Executable file → Normal file
View file

View file

@ -725,6 +725,7 @@ static void test_x86_16(void)
uc_close(&handle);
}
int main(int argc, char **argv, char **envp)
{
if (argc == 2) {