aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2024-02-01 09:56:31 +0100
committervanhauser-thc <vh@thc.org>2024-02-01 09:56:31 +0100
commit97ba817aa78888b318a76fa278a6fc4454cec1b7 (patch)
tree6e95a945ee8d4c8cce41ede4f7b07913970457cf /src
parent6e6d91b6b08db7cbcbc1efd0bf7b6f9ed5d85078 (diff)
downloadAFLplusplus-97ba817aa78888b318a76fa278a6fc4454cec1b7.tar.gz
debug ci
Diffstat (limited to 'src')
-rw-r--r--src/afl-cc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c
index c300ddfc..5e28ff6f 100644
--- a/src/afl-cc.c
+++ b/src/afl-cc.c
@@ -51,6 +51,9 @@
#define MAX_PARAMS_NUM 2048
#endif
+#undef LLVM_MAJOR
+#define LLVM_MAJOR 10
+
/** Global declarations -----BEGIN----- **/
typedef enum {
@@ -3452,6 +3455,8 @@ int main(int argc, char **argv, char **envp) {
if (aflcc->debug)
debugf_args((s32)aflcc->cc_par_cnt, (char **)aflcc->cc_params);
+ printf("DEBUGXXX: param0=%s aflcc->compiler_mode=%d aflcc->instrument_mode=%d\n", aflcc->cc_params[0], aflcc->compiler_mode, aflcc->instrument_mode);
+
if (aflcc->passthrough) {
argv[0] = aflcc->cc_params[0];