Crate blazesym_c

source ·
Expand description

C API bindings for the library.

§Compatibility

The library aims to provide forward compatibility with newer versions and backward compatibility with older ones. To make that happen, relevant types that are being passed to the library contain the type_size member that is to be set to the type’s size. The BLAZE_INPUT macro can be used for convenient initialization:

#include <string.h>
#include "blazesym.h"

int main(int argc, const char* argv[]) {
  BLAZE_INPUT(blaze_inspect_elf_src, src,
    .path = "/tmp/some/dir/test.bin",
    .debug_syms = true,
  );
}

Structs§

Enums§

Functions§

Type Aliases§

Unions§