Skip to content
OFRAK Docs
deserializer.py
Initializing search
GitHub
OFRAK Docs
GitHub
Home
Environment Setup
Getting Started
Examples
Examples
Example 1: Simple String Modification
Example 2: Simple Code Modification
Example 3: Binary Format Modification
Example 4: Filesystem Modification
Example 5: Binary Extension
Example 6: Code Modification Without Extension
Example 7: Code Insertion With Extension
Example 8: Recursive Unpacking
Example 9: Flash Modification
User Guide
User Guide
Key Concepts
Key Concepts
Resource
ResourceView
Components
Components
ComponentInterface
Identifier
Unpacker
Analyzer
Modifier
Packer
GUI
GUI
Minimap View
Keybindings
Settings
Projects
Disassembler Backends
Disassembler Backends
Ghidra Backend
Binary Ninja Backend
Angr Backend
Gotchas
Advanced
Advanced
PatchMaker
PatchMaker
User Guide
Troubleshooting
NAND Flash Component
Contributor Guide
Contributor Guide
Getting Started
Writing Components
Writing Components
Identifier
Unpacker
Analyzer
Modifier
Packer
Components Using External Tools
Ghidra Components
ResourceView
Code Reference
Code Reference
ofrak
ofrak
__main__.py
cli
cli
command
command
deps.py
gui.py
identify.py
license.py
list.py
unpack.py
ofrak_cli.py
component
component
abstract.py
analyzer.py
identifier.py
interface.py
modifier.py
packer.py
unpacker.py
core
core
addressable.py
apk.py
architecture.py
architecture_analysis.py
basic_block.py
binary.py
binwalk.py
bzip2.py
checksum.py
code_region.py
comments.py
complex_block.py
cpio.py
data.py
decompilation.py
dtb.py
ecc
ecc
abstract.py
reedsolomon.py
elf
elf
analyzer.py
arch
arch
x86_64
x86_64
model.py
lief_modifier.py
load_alignment_modifier.py
model.py
modifier.py
unpacker.py
entropy
entropy
entropy.py
entropy_c.py
entropy_py.py
extfs.py
filesystem.py
flash.py
free_space.py
gzip.py
ihex.py
injector.py
instruction.py
iso9660.py
jffs2.py
label.py
lzma.py
lzo.py
magic.py
memory_region.py
openwrt.py
patch_maker
patch_maker
analyzers.py
identifiers.py
linkable_binary.py
linkable_symbol.py
modifiers.py
pe
pe
model.py
unpacker.py
program.py
program_section.py
rar.py
run_script_modifier.py
seven_zip.py
squashfs.py
strings.py
strings_analyzer.py
tar.py
ubi.py
ubifs.py
uefi.py
uf2.py
uimage.py
xattr_stub.py
zip.py
zlib.py
zstd.py
gui
gui
script_builder.py
server.py
model
model
component_filters.py
component_model.py
data_model.py
job_model.py
job_request_model.py
resource_model.py
tag_model.py
viewable_tag_model.py
ofrak_context.py
project
project
project.py
resource.py
resource_view.py
service
service
abstract_ofrak_service.py
assembler
assembler
assembler_service_i.py
assembler_service_keystone.py
component_locator.py
component_locator_i.py
data_service.py
data_service_i.py
dependency_handler.py
disassembler
disassembler
disassembler_service_i.py
error.py
id_service_i.py
id_service_sequential.py
id_service_uuid.py
job_service.py
job_service_i.py
resource_service.py
resource_service_i.py
serialization
serialization
pjson.py
pjson_types.py
serializers
serializers
any_serializer.py
basic_type_serializer.py
bytes_serializer.py
class_instance_serializer.py
data_service_serializer.py
dict_serializer.py
enum_serializer.py
interval_tree_serializer.py
os_stat_result_serializer.py
range_serializer.py
resource_indexed_attribute_serializer.py
resource_model_serializer.py
resource_service_serializer.py
sequence_serializer.py
serializer_i.py
set_serializer.py
source_bundle_serializer.py
tuple_serializer.py
type_serializer.py
union_serializer.py
service_i.py
stashed_pjson.py
ofrak_io
ofrak_io
batch_manager.py
deserializer.py
deserializer.py
Table of contents
deserializer
serializer.py
stream_capture.py
ofrak_patch_maker
ofrak_patch_maker
binary_parser
binary_parser
abstract.py
gnu.py
llvm.py
model.py
patch_maker.py
toolchain
toolchain
abstract.py
gnu.py
gnu_aarch64.py
gnu_arm.py
gnu_avr.py
gnu_bcc_sparc.py
gnu_m68k.py
gnu_ppc.py
gnu_vbcc_m68k.py
gnu_x64.py
gnu_x86.py
llvm_12.py
model.py
utils.py
ofrak_type
ofrak_type
architecture.py
bit_width.py
endianness.py
error.py
memory_permissions.py
range.py
symbol_type.py
ofrak_ghidra
ofrak_ghidra
__main__.py
components
components
blocks
blocks
bb_unpacker.py
unpackers.py
data
data
ref_analyzer.py
ghidra_analyzer.py
ghidra_decompilation_analyzer.py
identifiers.py
config
config
__main__.py
ofrak_ghidra_config.py
constants.py
ghidra_model.py
server
server
__main__.py
License
Table of contents
deserializer
deserializer.py
ofrak_io.deserializer