| |
Methods defined here:
- __init__(self, filename=None, data=None)
- generate_ep_signature(self, pe, name, sig_length=512)
- Generate signatures for the entry point of a PE file.
Creates a singature whose name will be the parameter 'name'
and the section number and its name.
- generate_section_signatures(self, pe, name, sig_length=512)
- Generate signatures for all the sections in a PE file.
If the section contains any data a signature will be created
for it. The signature name will be a combination of the
parameter 'name' and the section number and its name.
- load(self, filename=None, data=None)
- Load a PEiD signature file.
Invoking this method on different files combines the signatures.
- match(self, pe, ep_only=False, section_start_only=False)
- Match and return the exact match(es).
If ep_only is True the result will be a string with
the packer name. Otherwise it will be a list of the
form (file_ofsset, packer_name). Specifying where
in the file the signature was found.
- match_all(self, pe, ep_only=False, section_start_only=False)
- Match and return the all the likely matches.
|