mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-18 12:48:06 +00:00
local/global var for compare-transform-pass and code-format
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
/**
|
||||
* Reference: https://github.com/bruce30262/libprotobuf-mutator_fuzzing_learning/blob/master/4_libprotobuf_aflpp_custom_mutator/vuln.c
|
||||
* Reference:
|
||||
* https://github.com/bruce30262/libprotobuf-mutator_fuzzing_learning/blob/master/4_libprotobuf_aflpp_custom_mutator/vuln.c
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
@ -8,12 +9,12 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
char str[100];
|
||||
read(0, str, 100);
|
||||
if( str[6] == 'A') {
|
||||
abort();
|
||||
}
|
||||
return 0;
|
||||
int main(int argc, char *argv[]) {
|
||||
|
||||
char str[100];
|
||||
read(0, str, 100);
|
||||
if (str[6] == 'A') { abort(); }
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user