Merge pull request #854 from joeyjiaojg/dev

fix if A == B always evalutes to true
This commit is contained in:
van Hauser 2021-04-01 12:09:58 +02:00 committed by GitHub
commit c9a96b268b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -32,7 +32,6 @@ cc_defaults {
target: {
android_arm64: {
cflags: [
"-D__aarch64__",
"-D__ANDROID__",
],
},

View File

@ -111,7 +111,7 @@ inline static void afl_maybe_log(guint64 current_pc) {
}
#if GUM_NATIVE_CPU == GUM_CPU_AMD64
#ifdef __x86_64__
static const guint8 afl_maybe_log_code[] = {
@ -177,7 +177,7 @@ void instr_basic_block(GumStalkerIterator *iterator, GumStalkerOutput *output,
if (instr->address >= range->code_start &&
instr->address <= range->code_end) {
#if GUM_NATIVE_CPU == GUM_CPU_AMD64
#ifdef __x86_64__
GumX86Writer *cw = output->writer.x86;
if (range->current_log_impl == 0 ||
!gum_x86_writer_can_branch_directly_between(