summaryrefslogtreecommitdiff
path: root/files.c
AgeCommit message (Collapse)Author
2017-01-30files: typoRobert Swiecki
2016-11-22Minimal undefined file size is 128 bytesRobert Swiecki
2016-11-14Add O_CLOEXEC to file*Robert Swiecki
2016-10-31[Linux] Fix double called by reference bugAnestis Bechtsoudis
Signed-off-by: Anestis Bechtsoudis <anestis@census-labs.com>
2016-10-31Indent + commentsAnestis Bechtsoudis
Signed-off-by: Anestis Bechtsoudis <anestis@census-labs.com>
2016-10-29[Linux] Implement symbol filtersAnestis Bechtsoudis
Whitelist/Blacklist symbol filters are checked when walking crash stackstrace. Whitelist has always priority over both stackhash blacklist or symbol blacklist. Filter input files expect one symbol per line while supporting wildcard strings (e.g. mem*). Signed-off-by: Anestis Bechtsoudis <anestis@census-labs.com>
2016-10-27Set FD to -1 in case of map failureRobert Swiecki
2016-10-04No need to specify struct name in TAILQ_HEADRobert Swiecki
2016-10-03Make file queue depend on sys/queueRobert Swiecki
2016-09-25Make coverage append the default modeJagger
2016-09-25Infer maximum file size from the corpus if -F is not setJagger
2016-09-22Make util_decodeCString return size after conversionJagger
2016-09-22Don't use strlen() for dictionary entriesJagger
2016-09-13Actually insert word into dictionaryRobert Swiecki
2016-09-13Dictionary variables based on sys/queue.hRobert Swiecki
2016-09-13Trim \n at the end of dictionary inputsRobert Swiecki
2016-09-13A quick C-string decoderRobert Swiecki
2016-09-10Use fopen(a, e) for O_CLOEXECJagger
2016-09-07Create shm file in the working dirJagger
2016-08-28Don't use memfd_create for nowJagger
2016-08-24Set errno before readdirJagger
2016-08-23readdir_r -> readdir + indentJagger
2016-08-20Use memfd_create if possibleRobert Swiecki
2016-07-23Experimental - sancov: A very naive method of reading raw filesJagger
2016-07-21Introduce util_ReallocJagger
2016-05-15getline's buffer must always be freedJagger
2016-04-22defer {} instead of DEFER()Jagger
2016-04-06Introduction of util_StrDupJagger
2016-04-02files_readFileToBufMax() returns negative value as an errorJagger
2016-04-02Having an external corpus command makes it a special caseJagger
2016-04-02External command is responsible for providing the filesJagger
2016-03-31Thread-specific fuzzer_t structureRobert Swiecki
2016-03-29TypoJagger
2016-03-29free once onlyJagger
2016-03-15Missing includeRobert Swiecki
2016-03-15More use of util_Malloc()Robert Swiecki
2016-03-15Input file is always requiredJagger
2016-03-10Cleaner impl. of DEFERJagger
2016-03-10Make files_parseDictionary behave more sanelyRobert Swiecki
2016-03-09Defers defersRobert Swiecki
2016-03-09Even more defer-izationRobert Swiecki
2016-03-09More defer-izationsRobert Swiecki
2016-03-09Introduce go-style deferRobert Swiecki
2016-02-07LINUX: Add read PID from fileAnestis Bechtsoudis
Similar to '-p' flag (PID provided as a number), '-P' flag is added to read PID from file. Many deamonized targets offer the option to write running PID to file. We can now read it directly and benefit from cases of auto-restart so we don't need to launch again the campaign when remote target crashed. Signed-off-by: Anestis Bechtsoudis <anestis@census-labs.com>
2016-02-07PERF: Don't init perf if not fuzzing with perf feedback enabledAnestis Bechtsoudis
Also remove some redundant extern from util function implementations. Signed-off-by: Anestis Bechtsoudis <anestis@census-labs.com>
2016-02-04Basic (not working) Intel PT codeJagger
2016-01-24Linux/Perf: Buffer size countingJagger
2016-01-24Better way of computing the mmap mlocked size for perfJagger
2016-01-14FILES: Fix dictionary parsing bugAnestis Bechtsoudis
Bug was introduced while resolving getdelim memory leaks at commit 3a8e16f85bb188a5b5fded75d8c8c0550c44e064 Signed-off-by: Anestis Bechtsoudis <anestis@census-labs.com>
2016-01-10FILES: Fix memory leaksAnestis Bechtsoudis
Signed-off-by: Anestis Bechtsoudis <anestis@census-labs.com>