[svn:parrot] r37929 - trunk/tools/dev
cotto at svn.parrot.org
cotto at svn.parrot.org
Mon Apr 6 22:28:05 UTC 2009
Author: cotto
Date: Mon Apr 6 22:28:04 2009
New Revision: 37929
URL: https://trac.parrot.org/parrot/changeset/37929
Log:
[fuzzer] add frequently-segfaulting-when-misused Packfile-related PMCs to blacklist
Modified:
trunk/tools/dev/parrot-fuzzer
Modified: trunk/tools/dev/parrot-fuzzer
==============================================================================
--- trunk/tools/dev/parrot-fuzzer Mon Apr 6 20:15:28 2009 (r37928)
+++ trunk/tools/dev/parrot-fuzzer Mon Apr 6 22:28:04 2009 (r37929)
@@ -378,7 +378,18 @@
class PMCTypeGenerator:
pmc_list = []
- pmc_blacklist = []
+ pmc_blacklist = [
+ 'Packfile',
+ 'PackfileAnnotation',
+ 'PackfileAnnotationKeys',
+ 'PackfileAnnotations',
+ 'PackfileConstantTable',
+ 'PackfileDirectory',
+ 'PackfileFixupEntry',
+ 'PackfileFixupTable',
+ 'PackfileRawSegment',
+ 'PackfileSegment',
+ ]
def populatePMCList(self, parrot_root):
pmc_pm = parrot_root + "/lib/Parrot/PMC.pm"
@@ -390,6 +401,7 @@
if line not in self.pmc_blacklist:
self.pmc_list.append(line)
+
def getPMCType(self):
return random.choice(self.pmc_list)
More information about the parrot-commits
mailing list