![]() |
Baseer 0.2.0
Baseer is an advanced binary analysis tool designed to provide deep insights into any file.
|
Binary parser abstraction supporting memory and streaming files. More...
Go to the source code of this file.
Classes | |
struct | bparser |
Parser object. More... |
Typedefs | |
typedef bool(* | bparser_callback_t) (bparser *parser, void *arg) |
Callback for bparser tools. |
Functions | |
bparser * | bparser_load (baseer_target_t *data) |
Load a parser object. | |
size_t | bparser_read (bparser *parser, void *buf, unsigned int pos, size_t size) |
Read bytes from parser. | |
bool | bparser_apply (bparser *parser, bparser_callback_t callback, void *arg) |
Execute a callback on the parser. |
Binary parser abstraction supporting memory and streaming files.
Provides a unified interface to read from memory blocks or FILE* streams and execute callbacks on the parsed content.
typedef bool(* bparser_callback_t) (bparser *parser, void *arg) |
Callback for bparser tools.
parser | Pointer to parser object |
arg | Additional argument (e.g., inputs) |
bool bparser_apply | ( | bparser * | parser, |
bparser_callback_t | callback, | ||
void * | arg ) |
Execute a callback on the parser.
parser | Pointer to parser |
callback | Callback function |
arg | Additional argument |
bparser * bparser_load | ( | baseer_target_t * | data | ) |
Load a parser object.
type | Parser type: BPARSER_MEM or BPARSER_FILE |
data | Memory block or FILE* pointer |
size_t bparser_read | ( | bparser * | parser, |
void * | buf, | ||
unsigned int | pos, | ||
size_t | size ) |
Read bytes from parser.
parser | Pointer to parser object |
buf | Output buffer |
pos | Offset in memory or file |
size | Number of bytes to read |