Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
honggfuzz
/
eff42d13de6d30cf53f8c9628f6c452a98e725bc
/
mangle.c
3a57226
No need to specify struct name in TAILQ_HEAD
by Robert Swiecki
· 8 years ago
b50d1b6
Shring/expand needs to be rethought
by Jagger
· 8 years ago
41aefdb
Slightly more readable logic for shring/expand
by Jagger
· 8 years ago
28a5977
Buffer extending/shrinking logic
by Jagger
· 8 years ago
c64c9eb
Don't use strlen() for dictionary entries
by Jagger
· 8 years ago
531438a
Dictionary variables based on sys/queue.h
by Robert Swiecki
· 8 years ago
68d4c36
mangle - change priorities
by Jagger
· 8 years ago
4cdf5d0
More magic numbers
by Robert Swiecki
· 8 years ago
d0b147f
Don't use endian.h as it's non-standard
by Jagger
· 9 years ago
1d8157c
Add cygwin to endian.h family
by Jagger
· 9 years ago
3a8a2d8
Oddity of Linux vs BSD
by Jagger
· 9 years ago
e36efcf
Missing indent
by Jagger
· 9 years ago
6782293
Use native endianess funcs
by Jagger
· 9 years ago
f08d14c
Make const stack-based var static
by Jagger
· 9 years ago
a96d78d
The first pass is dry pass for dynamic files
by Robert Swiecki
· 9 years ago
61cbed8
More magic values
by Robert Swiecki
· 9 years ago
ccdf28c
INDENT: Small edits so that OS X indent can be used
by Anestis Bechtsoudis
· 9 years ago
07e14ce
uint64_t format fixes
by Anestis Bechtsoudis
· 9 years ago
4799a9d
Clang fixes
by Anestis Bechtsoudis
· 9 years ago
2ff92d1
Annotate unused vars
by Anestis Bechtsoudis
· 9 years ago
e6389e2
Make mangle_Overwrite inline, and some more structures static
by Robert Swiecki
· 9 years ago
fb6e86b
Make mangleMagicVals fully const
by Robert Swiecki
· 9 years ago
25262b3
Early mangle abort for 0 flip rate
by Anestis Bechtsoudis
· 9 years ago
c8c32db
Merge
by Robert Swiecki
· 9 years ago
17118ce
Remove reduntant const
by Jagger
· 9 years ago
6afaf40
Shorter log msg
by Jagger
· 9 years ago
51c9bb1
Typo fixes
by Anestis Bechtsoudis
· 9 years ago
7b6d7ee
clang complains about void function returning void expression...
by tlogic@gmail.com
· 10 years ago
4f1124f
Support for word dictionaries
by robert.swiecki@gmail.com
· 10 years ago
3d928f1
Make the magic struct static
by robert.swiecki@gmail.com
· 10 years ago
bf84ae1
return in mangleOverwrite
by robert.swiecki@gmail.com
· 10 years ago
ace4086
Prepopulate expanded buffer with a random data
by robert.swiecki@gmail.com
· 10 years ago
62e34ae
Stick to indent
by robert.swiecki@gmail.com
· 10 years ago
4be2667
A pass with astyle
by robert.swiecki@gmail.com
· 10 years ago
87e7275
Change probability ratios of different mangling routines
by robert.swiecki@gmail.com
· 10 years ago
5719764
Use mangle_Overwrite instead of direct mem manipulation
by robert.swiecki@gmail.com
· 10 years ago
78973ed
IncDec bytes
by robert.swiecki@gmail.com
· 10 years ago
03e7039
A new magic int value
by robert.swiecki@gmail.com
· 10 years ago
4a7a9d8
Rewrite fuzzing logic - keep file in memory
by robert.swiecki@gmail.com
· 10 years ago
457280e
No changes only if -r 0.0
by robert.swiecki@gmail.com
· 10 years ago
395278b
Additional magic value
by robert.swiecki@gmail.com
· 10 years ago
549ff18
Add and Sub small integers
by robert.swiecki@gmail.com
· 10 years ago
08174c7
Use PCG PRNG for random buffers
by robert.swiecki@gmail.com
· 10 years ago
060a9dd
Initial best file size is 1 (cannot be bigger than max file size)
by robert.swiecki@gmail.com
· 10 years ago
edbca38
Improve perf watermarking
by robert.swiecki@gmail.com
· 10 years ago
87f7c7e
Correctly dereference the pointer
by robert.swiecki
· 10 years ago
d825280
Limit size of the rndBuf
by robert.swiecki@gmail.com
· 10 years ago
a56173d
Change file size modifying algorithm Increase mmap buffer size
by robert.swiecki@gmail.com
· 10 years ago
ca0c9cd
Logging messages
by robert.swiecki@gmail.com
· 10 years ago
b6d5bbc
numnam before truncate
by robert.swiecki@gmail.com
· 10 years ago
c14f695
Debug
by robert.swiecki@gmail.com
· 10 years ago
bb5d264
Different mapping strategy for Linux/Posix
by robert.swiecki@gmail.com
· 10 years ago
949f41d
Dereference size in munmap()
by robert.swiecki@gmail.com
· 10 years ago
3109d0a
Get rid of -b
by robert.swiecki@gmail.com
· 10 years ago
0988d28
Fix file mangling, ftruncate file before saving
by robert.swiecki@gmail.com
· 10 years ago
4fc1969
Make it compile under Linux
by robert.swiecki@gmail.com
· 10 years ago
5fa9d90
Make it sort-a work under FreeBSD
by robert.swiecki
· 10 years ago
1c24650
Count branches instead of IP
by robert.swiecki@gmail.com
· 10 years ago
f891cad
Size recalculation improvements
by robert.swiecki@gmail.com
· 10 years ago
bcdeaea
Correct mangle_Overwrite invocation
by robert.swiecki@gmail.com
· 10 years ago
50e1f3b
Copy from buf, not from &buf
by robert.swiecki@gmail.com
· 10 years ago
5952603
File size computation based on the power function
by robert.swiecki@gmail.com
· 10 years ago
89cc38c
Two new mangle options - memset and random
by robert.swiecki@gmail.com
· 10 years ago
61b02a5
For the time being, use simple file size changer
by robert.swiecki@gmail.com
· 10 years ago
b8a1e0f
l_ERROR -> l_DEBUG
by robert.swiecki@gmail.com
· 10 years ago
bdb94ab
Simpler file size function
by robert.swiecki@gmail.com
· 10 years ago
be554fb
Some additional magic values (2,3,4)
by robert.swiecki@gmail.com
· 10 years ago
c226b84
l_ERROR -> l_DEBUG
by robert.swiecki@gmail.com
· 10 years ago
173f519
Gauss-like distribution of file sizes
by robert.swiecki@gmail.com
· 10 years ago
e768052
File resize algoritm
by robert.swiecki@gmail.com
· 10 years ago
8c3e0f2
Better shift
by robert.swiecki@gmail.com
· 10 years ago
1c555c7
A helper function for mangle*
by robert.swiecki@gmail.com
· 10 years ago
1ba7619
More magic values
by robert.swiecki@gmail.com
· 10 years ago
8325658
Indent
by robert.swiecki@gmail.com
· 10 years ago
17ee676
Change frequency of different options
by robert.swiecki@gmail.com
· 10 years ago
12e7506
Mangle_Bytes to generate only 2,3,4-byte values
by robert.swiecki@gmail.com
· 10 years ago
457ca14
Generate random 1/2/3/4-byte values
by robert.swiecki@gmail.com
· 10 years ago
b777961
iOff-by-one
by robert.swiecki@gmail.com
· 10 years ago
e8555c2
Correct size calculation on memmove
by robert.swiecki@gmail.com
· 10 years ago
0a7eabe
Use size_t rather than off_t (we'll never process files bigger than VA, due to mmap limits)
by robert.swiecki@gmail.com
· 10 years ago
a3e014e
Basic mangling routines
by robert.swiecki@gmail.com
· 10 years ago