Library functions used by various refinery units.
Expand source code Browse git
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Library functions used by various refinery units. """
Multibin Syntax …
Routines to help interpret large binary buffers as arrays of numbers, stored as consecutive sequences of bytes, all with the same length and byte order.
A selection of refinery-specific decorators.
Contains functions to aid in deobfuscation.
A library to parse .NET headers and meta data.
Some refinery units produce more than one output when applied to an input. For example,
chopwill chop the input data into evenly sized …
Parsing of the Java Class file format as per: https://docs.oracle.com/javase/specs/jvms/se14/html/jvms-4.html
In order to represent arbitrary data as JSON, these classes help extend the built-in json module in order to support custom encoding of already …
Functions to help dynamically load refinery units.
A cross platform interface to libmagic.
Inside a frame (see
refinery.lib.frame), all chunks that are processed by refinery units have a dictionary of metadata attached to them. This …
File type related functions.
Microsoft Crypto API structures
Library of regular expression patterns.
Windows-specific module to determine whether the current Python process is running in a PowerShell process.
Interfaces and classes to read structured data.
This module contains an implementation of Ukkonen's suffix tree algorithm.
Miscellaneous helper functions.
Exports two singletons
AST. Used by
PatternExtractorBaseas the default …