mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 18:48:08 +00:00
Merge pull request #854 from joeyjiaojg/dev
fix if A == B always evalutes to true
This commit is contained in:
@ -32,7 +32,6 @@ cc_defaults {
|
|||||||
target: {
|
target: {
|
||||||
android_arm64: {
|
android_arm64: {
|
||||||
cflags: [
|
cflags: [
|
||||||
"-D__aarch64__",
|
|
||||||
"-D__ANDROID__",
|
"-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[] = {
|
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 &&
|
if (instr->address >= range->code_start &&
|
||||||
instr->address <= range->code_end) {
|
instr->address <= range->code_end) {
|
||||||
|
|
||||||
#if GUM_NATIVE_CPU == GUM_CPU_AMD64
|
#ifdef __x86_64__
|
||||||
GumX86Writer *cw = output->writer.x86;
|
GumX86Writer *cw = output->writer.x86;
|
||||||
if (range->current_log_impl == 0 ||
|
if (range->current_log_impl == 0 ||
|
||||||
!gum_x86_writer_can_branch_directly_between(
|
!gum_x86_writer_can_branch_directly_between(
|
||||||
|
Reference in New Issue
Block a user