Following is the new implementation of the scanning framework. More...
Public Member Functions | |
def | __init__ |
def | check_addr (self, found) |
This calls all our constraints on the offset found and returns the number of contraints that matched. More... | |
def | scan |
Public Attributes | |
buffer | |
window_size | |
constraints | |
Build our constraints from the specified ScannerCheck classes: | |
error_count | |
Static Public Attributes | |
list | checks = [] |
int | overlap = 20 |
Following is the new implementation of the scanning framework.
The old framework was based on PyFlag's scanning framework which is probably too complex for this. A more thorough scanner which checks every byte
def volatility.scan.BaseScanner.check_addr | ( | self, | |
found | |||
) |
This calls all our constraints on the offset found and returns the number of contraints that matched.
We shortcut the loop as soon as its obvious that there will not be sufficient matches to fit the criteria. This allows for an early exit and a speed boost.