Ghidra 11.3.2
Ghidra internal decompiler documentation.
|
Encoding values for the SLA file format. More...
Classes | |
class | ghidra::sla::FormatEncode |
The encoder for the .sla file format. More... | |
class | ghidra::sla::FormatDecode |
The decoder for the .sla file format. More... | |
Functions | |
bool | ghidra::sla::isSlaFormat (istream &s) |
Verify a .sla file header at the current point of the given stream. | |
void | ghidra::sla::writeSlaHeader (ostream &s) |
Write a .sla file header to the given stream. | |
Encoding values for the SLA file format.
bool ghidra::sla::isSlaFormat | ( | istream & | s | ) |
Verify a .sla file header at the current point of the given stream.
The bytes of the header are read from the stream and verified against the required form and current version. If the form matches, true is returned. No additional bytes are read.
s | is the given stream |
void ghidra::sla::writeSlaHeader | ( | ostream & | s | ) |
Write a .sla file header to the given stream.
A valid header, including the format version number, is written to the stream.
s | is the given stream |