-
大小: 24.35MB文件类型: .zip金币: 1下载: 0 次发布日期: 2023-07-15
- 语言: Html/CSS
- 标签: peachfuzzer
资源简介
peach-3.1.124-win-x86-release
安装参考:
http://community.peachfuzzer.com/v3/Installation.html
代码片段和文件信息
# Copyright 2007 Google Inc. All Rights Reserved.
# Licensed to PSF under a Contributor Agreement.
“““Abstract base Classes (ABCs) according to PEP 3119.“““
import types
from _weakrefset import WeakSet
# Instance of old-style class
class _C: pass
_InstanceType = type(_C())
def abstractmethod(funcobj):
“““A decorator indicating abstract methods.
Requires that the metaclass is ABCmeta or derived from it. A
class that has a metaclass derived from ABCmeta cannot be
instantiated unless all of its abstract methods are overridden.
The abstract methods can be called using any of the normal
‘super‘ call mechanisms.
Usage:
class C:
__metaclass__ = ABCmeta
@abstractmethod
def my_abstract_method(self ...):
...
“““
funcobj.__isabstractmethod__ = True
return funcobj
class abstractproperty(property):
“““A decorator indicating abstract properties.
Requires that the metaclass is ABCmeta or derived from it. A
class that has a metaclass derived from ABCmeta cannot be
instantiated unless all of its abstract properties are overridden.
The abstract properties can be called using any of the normal
‘super‘ call mechanisms.
Usage:
class C:
__metaclass__ = ABCmeta
@abstractproperty
def my_abstract_property(self):
...
This defines a read-only property; you can also define a read-write
abstract property using the ‘long‘ form of property declaration:
class C:
__metaclass__ = ABCmeta
def getx(self): ...
def setx(self value): ...
x = abstractproperty(getx setx)
“““
__isabstractmethod__ = True
class ABCmeta(type):
“““metaclass for defining Abstract base Classes (ABCs).
Use this metaclass to create an ABC. An ABC can be subclassed
directly and then acts as a mix-in class. You can also register
unrelated concrete classes (even built-in classes) and unrelated
ABCs as ‘virtual subclasses‘ -- these and their descendants will
be considered subclasses of the registering ABC by the built-in
issubclass() function but the registering ABC won‘t show up in
their MRO (Method Resolution Order) nor will method
implementations defined by the registering ABC be callable (not
even via super()).
“““
# A global counter that is incremented each time a class is
# registered as a virtual subclass of anything. It forces the
# negative cache to be cleared before its next use.
_abc_invalidation_counter = 0
def __new__(mcls name bases namespace):
cls = super(ABCmeta mcls).__new__(mcls name bases namespace)
# Compute set of abstract method names
abstracts = set(name
for name value in namespace.items()
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 461824 2014-08-20 14:21 VixAllProducts.dll
文件 7524 2014-08-20 14:21 pin\LICENSE
文件 32369 2014-08-20 14:21 pin\README
文件 1080656 2014-08-20 14:21 pin\ia32\bin\dbghelp.dll
文件 533504 2014-08-20 14:21 pin\ia32\bin\pin.exe
文件 1542656 2014-08-20 14:21 pin\ia32\bin\pindb.exe
文件 6144 2014-08-20 14:21 pin\ia32\bin\pinjitprofiling.dll
文件 155648 2014-08-20 14:21 nunit.core.dll
文件 4051456 2014-08-20 14:21 pin\ia32\bin\pinvm.dll
文件 197632 2014-11-11 17:08 ComTest.dll
文件 2132992 2014-08-20 14:21 pin\ia32\bin\vsdbg.dll
文件 2198528 2014-11-11 17:08 ComTest.pdb
文件 1528 2014-11-11 17:08 ComTest.lib
文件 1369936 2014-08-20 14:21 pin\intel64\bin\dbghelp.dll
文件 676352 2014-08-20 14:21 pin\intel64\bin\pin.exe
文件 303104 2014-11-11 17:08 CrashableServer.exe
文件 1803776 2014-08-20 14:21 pin\intel64\bin\pindb.exe
文件 1534976 2014-11-11 17:08 CrashableServer.pdb
文件 6656 2014-08-20 14:21 pin\intel64\bin\pinjitprofiling.dll
文件 101888 2014-11-11 17:08 CrashingFileConsumer.exe
文件 1117184 2014-11-11 17:08 CrashingFileConsumer.pdb
文件 5107712 2014-08-20 14:21 pin\intel64\bin\pinvm.dll
文件 2579968 2014-08-20 14:21 pin\intel64\bin\vsdbg.dll
文件 313344 2014-11-11 17:08 CrashingProgram.exe
文件 49152 2014-08-20 14:21 pin\pin.exe
文件 1600512 2014-11-11 17:08 CrashingProgram.pdb
文件 439808 2014-08-20 14:21 NLog.dll
文件 72704 2014-08-20 14:21 SharpPcap.dll
文件 193536 2014-08-20 14:21 PacketDotNet.dll
文件 120257 2014-08-20 14:21 peach.xsd
文件 2472 2014-08-20 14:21 samples\CrashableServer.xm
............此处省略794个文件信息
评论
共有 条评论