Changeset 4253 for zzuf/trunk/test
- Timestamp:
- Jan 13, 2010, 12:54:02 AM (11 years ago)
- Location:
- zzuf/trunk/test
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/test/bug-div0.c
r2576 r4253 1 1 /* 2 2 * bug-div0 - program dividing by zero when fuzzed 3 * Copyright (c) 2008 Sam Hocevar <sam@ zoy.org>3 * Copyright (c) 2008 Sam Hocevar <sam@hocevar.net> 4 4 * All Rights Reserved 5 *6 * $Id$7 5 * 8 6 * This program is free software. It comes without any warranty, to -
zzuf/trunk/test/bug-memory.c
r2560 r4253 1 1 /* 2 2 * bug-memory - program exhausting the memory when fuzzed 3 * Copyright (c) 2008 Sam Hocevar <sam@ zoy.org>3 * Copyright (c) 2008 Sam Hocevar <sam@hocevar.net> 4 4 * All Rights Reserved 5 *6 * $Id$7 5 * 8 6 * This program is free software. It comes without any warranty, to -
zzuf/trunk/test/bug-overflow.c
r2545 r4253 1 1 /* 2 2 * bug-overflow - program causing a buffer overflow when fuzzed 3 * Copyright (c) 2008 Sam Hocevar <sam@ zoy.org>3 * Copyright (c) 2008 Sam Hocevar <sam@hocevar.net> 4 4 * All Rights Reserved 5 *6 * $Id$7 5 * 8 6 * This program is free software. It comes without any warranty, to -
zzuf/trunk/test/check-build
r4043 r4253 1 1 #!/bin/sh 2 # 3 # check-build - check build system and source code for inconsistencies 4 # Copyright (c) 2009-2010 Sam Hocevar <sam@hocevar.net> 5 # All Rights Reserved 6 # 7 # This program is free software. It comes without any warranty, to 8 # the extent permitted by applicable law. You can redistribute it 9 # and/or modify it under the terms of the Do What The Fuck You Want 10 # To Public License, Version 2, as published by Sam Hocevar. See 11 # http://sam.zoy.org/wtfpl/COPYING for more details. 12 # 2 13 3 14 ret=0 -
zzuf/trunk/test/check-div0
r4120 r4253 1 1 #!/bin/sh 2 # 3 # check-div0 - check that zzuf can catch divisions by zero 4 # Copyright (c) 2008-2010 Sam Hocevar <sam@hocevar.net> 5 # All Rights Reserved 6 # 7 # This program is free software. It comes without any warranty, to 8 # the extent permitted by applicable law. You can redistribute it 9 # and/or modify it under the terms of the Do What The Fuck You Want 10 # To Public License, Version 2, as published by Sam Hocevar. See 11 # http://sam.zoy.org/wtfpl/COPYING for more details. 12 # 2 13 3 14 . "$(dirname "$0")/functions.inc" -
zzuf/trunk/test/check-md5
r2573 r4253 1 1 #!/bin/sh 2 # 3 # check-md5 - check that zzuf properly computes md5 checksums 4 # Copyright (c) 2008-2010 Sam Hocevar <sam@hocevar.net> 5 # All Rights Reserved 6 # 7 # This program is free software. It comes without any warranty, to 8 # the extent permitted by applicable law. You can redistribute it 9 # and/or modify it under the terms of the Do What The Fuck You Want 10 # To Public License, Version 2, as published by Sam Hocevar. See 11 # http://sam.zoy.org/wtfpl/COPYING for more details. 12 # 2 13 3 14 . "$(dirname "$0")/functions.inc" -
zzuf/trunk/test/check-memory
r4120 r4253 1 1 #!/bin/sh 2 # 3 # check-memory - check that zzuf catches excessive memory allocations 4 # Copyright (c) 2008-2010 Sam Hocevar <sam@hocevar.net> 5 # All Rights Reserved 6 # 7 # This program is free software. It comes without any warranty, to 8 # the extent permitted by applicable law. You can redistribute it 9 # and/or modify it under the terms of the Do What The Fuck You Want 10 # To Public License, Version 2, as published by Sam Hocevar. See 11 # http://sam.zoy.org/wtfpl/COPYING for more details. 12 # 2 13 3 14 . "$(dirname "$0")/functions.inc" -
zzuf/trunk/test/check-overflow
r4120 r4253 1 1 #!/bin/sh 2 # 3 # check-overflow - check that zzuf catches buffer overflows 4 # Copyright (c) 2008-2010 Sam Hocevar <sam@hocevar.net> 5 # All Rights Reserved 6 # 7 # This program is free software. It comes without any warranty, to 8 # the extent permitted by applicable law. You can redistribute it 9 # and/or modify it under the terms of the Do What The Fuck You Want 10 # To Public License, Version 2, as published by Sam Hocevar. See 11 # http://sam.zoy.org/wtfpl/COPYING for more details. 12 # 2 13 3 14 . "$(dirname "$0")/functions.inc" -
zzuf/trunk/test/check-rng
r4120 r4253 1 1 #!/bin/sh 2 # 3 # check-rng - zzuf RNG statistic tests 4 # Copyright (c) 2008-2010 Sam Hocevar <sam@hocevar.net> 5 # All Rights Reserved 6 # 7 # This program is free software. It comes without any warranty, to 8 # the extent permitted by applicable law. You can redistribute it 9 # and/or modify it under the terms of the Do What The Fuck You Want 10 # To Public License, Version 2, as published by Sam Hocevar. See 11 # http://sam.zoy.org/wtfpl/COPYING for more details. 12 # 2 13 3 14 . "$(dirname "$0")/functions.inc" -
zzuf/trunk/test/functions.inc
r4245 r4253 1 1 # Source this file in shell scripts: 2 2 # . "$(dirname "$0")/functions.inc" 3 # 4 # functions.inc - utility functions for shell-based test scripts 5 # Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net> 6 # All Rights Reserved 7 # 8 # This program is free software. It comes without any warranty, to 9 # the extent permitted by applicable law. You can redistribute it 10 # and/or modify it under the terms of the Do What The Fuck You Want 11 # To Public License, Version 2, as published by Sam Hocevar. See 12 # http://sam.zoy.org/wtfpl/COPYING for more details. 13 # 3 14 4 15 DIR="$(dirname "$0")" … … 7 18 ZZCAT="$DIR/../src/zzcat" 8 19 if [ ! -f "$ZZCAT" ]; then 9 echo "error: test/zzcat is missing"20 echo "error: src/zzcat is missing" 10 21 exit 1 11 22 fi -
zzuf/trunk/test/zzero.c
r2325 r4253 1 1 /* 2 2 * zzero - check how many bits zzuf changes in a stream of zeroes 3 * Copyright (c) 2008 Sam Hocevar <sam@ zoy.org>3 * Copyright (c) 2008 Sam Hocevar <sam@hocevar.net> 4 4 * All Rights Reserved 5 *6 * $Id$7 5 * 8 6 * This program is free software. It comes without any warranty, to -
zzuf/trunk/test/zznop.c
r4107 r4253 1 1 /* 2 2 * zznop - almost empty program that does almost nothing 3 * Copyright (c) 2009 Sam Hocevar <sam@hocevar.net>3 * Copyright (c) 2009-2010 Sam Hocevar <sam@hocevar.net> 4 4 * All Rights Reserved 5 *6 * $Id$7 5 * 8 6 * This program is free software. It comes without any warranty, to
Note: See TracChangeset
for help on using the changeset viewer.