Bug#792317: ITP: python-afl -- American fuzzy lop for Python

2015-07-14 Thread Daniel Stender
I've got the package ready [1].

The wrapper works fine. If want to try out,

bildinfo.py
#!/usr/bin/python
# _*_ coding: utf-8 _*_

import sys
import Image
import os
import afl
afl.start()

kommandozeile = sys.argv[1:]

for dateiname in kommandozeile:
print (Datei: %s % dateiname)
try:
bild = Image.open(dateiname)
print (Format: %s % bild.format)
print (Größe: %s x %s % (bild.size[0], bild.size[1]))
print (Modus: %s % bild.mode)
print ( )
except IOError:
print (Kann %s nicht lesen % dateiname)

os._exit(0)
/bildinfo.py

$ py-afl-fuzz -n -i /usr/share/afl/testcases/images/jpeg -o afl -- ./bildinfo.py
fires up the fuzzying (full processing takes a long time)

DS

[1] https://bugs.debian.org/792447
RFS: python-afl/0.2.1-1 -- American Fuzzy Lop fuzzy testing for Python code 
[ITP]

-- 
-- 
http://www.danielstender.com/blog/
4096R/DF5182C8
46CB 1CA8 9EA3 B743 7676 1DB9 15E0 9AF4 DF51 82C8


-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/55a57a16.7020...@danielstender.com



Bug#792317: ITP: python-afl -- American fuzzy lop for Python

2015-07-14 Thread Jakub Wilk

* Daniel Stender deb...@danielstender.com, 2015-07-13, 23:32:

* Package name: python-afl
 Version : 0.2


FYI, I've just released 0.2.1.


* URL : https://bitbucket.org/jwilk/python-afl


Please use this in the Homepage field: 
http://jwilk.net/software/python-afl

Thanks in advance.

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150714174221.ga4...@jwilk.net