mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-22 14:19:02 +00:00
debug ci
This commit is contained in:
@ -51,6 +51,9 @@
|
|||||||
#define MAX_PARAMS_NUM 2048
|
#define MAX_PARAMS_NUM 2048
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#undef LLVM_MAJOR
|
||||||
|
#define LLVM_MAJOR 10
|
||||||
|
|
||||||
/** Global declarations -----BEGIN----- **/
|
/** Global declarations -----BEGIN----- **/
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
@ -3452,6 +3455,8 @@ int main(int argc, char **argv, char **envp) {
|
|||||||
if (aflcc->debug)
|
if (aflcc->debug)
|
||||||
debugf_args((s32)aflcc->cc_par_cnt, (char **)aflcc->cc_params);
|
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) {
|
if (aflcc->passthrough) {
|
||||||
|
|
||||||
argv[0] = aflcc->cc_params[0];
|
argv[0] = aflcc->cc_params[0];
|
||||||
|
@ -4,13 +4,11 @@
|
|||||||
|
|
||||||
$ECHO "$BLUE[*] Testing: nyx_mode"
|
$ECHO "$BLUE[*] Testing: nyx_mode"
|
||||||
|
|
||||||
|
apt-cache search clang|grep -E '^clang-1'
|
||||||
ls -al ../libnyx.so ../afl-* ../*.so
|
ls -al ../libnyx.so ../afl-* ../*.so
|
||||||
../afl-cc -h
|
../afl-cc -h
|
||||||
../afl-clang-fast -v
|
|
||||||
echo AFL-CC
|
echo AFL-CC
|
||||||
AFL_DEBUG=1 ../afl-cc -v -o test-inst ../test-instr.c 2>&1
|
AFL_DEBUG=1 ../afl-cc -v -o test-inst ../test-instr.c 2>&1
|
||||||
echo AFL-CLANG-FAST
|
|
||||||
AFL_DEBUG=1 ../afl-clang-fast -v -o test-inst ../test-instr.c 2>&1
|
|
||||||
ls -l test-instr
|
ls -l test-instr
|
||||||
test -e ../libnyx.so && {
|
test -e ../libnyx.so && {
|
||||||
../afl-cc -o test-instr ../test-instr.c > errors 2>&1
|
../afl-cc -o test-instr ../test-instr.c > errors 2>&1
|
||||||
|
Reference in New Issue
Block a user