Skip to content
Snippets Groups Projects
Commit 1004fb9a authored by Jiangen Jiao's avatar Jiangen Jiao
Browse files

fix #if A == B always evalutes to true

parent e190ba1a
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,6 @@ cc_defaults {
target: {
android_arm64: {
cflags: [
"-D__aarch64__",
"-D__ANDROID__",
],
},
......
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment