Rizin
unix-like reverse engineering framework and cli tools
bin_elf.c File Reference
#include "bin_elf.inc"

Go to the source code of this file.

Functions

static bool check_buffer (RzBuffer *buf)
 

Variables

RzBinPlugin rz_bin_plugin_elf
 
RZ_API RzLibStruct rizin_plugin
 

Function Documentation

◆ check_buffer()

static bool check_buffer ( RzBuffer buf)
static

Definition at line 8 of file bin_elf.c.

8  {
9  return check_buffer_aux(buf) == ELFCLASS32;
10 }
voidpf void * buf
Definition: ioapi.h:138
#define ELFCLASS32
Definition: common.h:53

References ELFCLASS32.

Variable Documentation

◆ rizin_plugin

RZ_API RzLibStruct rizin_plugin
Initial value:
= {
.type = RZ_LIB_TYPE_BIN,
}
RzBinPlugin rz_bin_plugin_elf
Definition: bin_elf.c:12
@ RZ_LIB_TYPE_BIN
Definition: rz_lib.h:75
#define RZ_VERSION
Definition: rz_version.h:8
char * version
Definition: rz_bin.h:512

Definition at line 45 of file bin_elf.c.

◆ rz_bin_plugin_elf

RzBinPlugin rz_bin_plugin_elf

Definition at line 12 of file bin_elf.c.