Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_egg.h>
Go to the source code of this file.
Classes | |
struct | cEnv_t |
Functions | |
static char * | rz_egg_Cfile_getCompiler (void) |
static bool | rz_egg_Cfile_armOrMips (const char *arch) |
static void | rz_egg_Cfile_free_cEnv (struct cEnv_t *cEnv) |
static bool | rz_egg_Cfile_check_cEnv (struct cEnv_t *cEnv) |
static bool | isXNU (const char *os) |
static struct cEnv_t * | rz_egg_Cfile_set_cEnv (const char *arch, const char *os, int bits) |
static bool | rz_egg_Cfile_parseCompiled (const char *file) |
RZ_API char * | rz_egg_Cfile_parser (const char *file, const char *arch, const char *os, int bits) |
Definition at line 62 of file egg_Cfile.c.
Referenced by rz_egg_Cfile_set_cEnv().
Definition at line 42 of file egg_Cfile.c.
References arch.
Referenced by rz_egg_Cfile_set_cEnv().
Definition at line 58 of file egg_Cfile.c.
References cEnv_t::CC, cEnv_t::CFLAGS, cEnv_t::LDFLAGS, cEnv_t::SFLIBPATH, cEnv_t::SHDR, and cEnv_t::TRIPLET.
Referenced by rz_egg_Cfile_set_cEnv().
|
static |
Definition at line 46 of file egg_Cfile.c.
References cEnv_t::CC, cEnv_t::CFLAGS, free(), cEnv_t::LDFLAGS, cEnv_t::SFLIBPATH, cEnv_t::SHDR, and cEnv_t::TRIPLET.
Referenced by rz_egg_Cfile_parser(), and rz_egg_Cfile_set_cEnv().
|
static |
Definition at line 20 of file egg_Cfile.c.
References eprintf, free(), i, NULL, output, rz_file_path(), rz_sys_getenv(), and strdup().
Referenced by rz_egg_Cfile_set_cEnv().
Definition at line 212 of file egg_Cfile.c.
References eprintf, fail, free(), i, NULL, rz_file_dump(), rz_file_slurp(), rz_str_newf(), rz_str_replace(), and rz_str_stripLine().
Referenced by rz_egg_Cfile_parser().
RZ_API char* rz_egg_Cfile_parser | ( | const char * | file, |
const char * | arch, | ||
const char * | os, | ||
int | bits | ||
) |
Definition at line 247 of file egg_Cfile.c.
References arch, bits(), cEnv_t::CC, cEnv_t::CFLAGS, cmd, eprintf, fail, free(), i, cEnv_t::LDFLAGS, NULL, cEnv_t::OBJCOPY, output, printf(), rz_egg_Cfile_free_cEnv(), rz_egg_Cfile_parseCompiled(), rz_egg_Cfile_set_cEnv(), rz_file_dump(), rz_file_exists(), rz_file_rm(), rz_file_size(), rz_str_newf(), rz_str_sanitize(), rz_sys_cmd_strf(), rz_sys_system(), cEnv_t::SHDR, and cEnv_t::TEXT.
Referenced by rz_egg_load_file().
Definition at line 66 of file egg_Cfile.c.
References arch, bits(), calloc(), cEnv_t::CC, cEnv_t::CFLAGS, eprintf, fail, cEnv_t::FMT, free(), isXNU(), cEnv_t::JMP, cEnv_t::LDFLAGS, NULL, cEnv_t::OBJCOPY, output, rz_egg_Cfile_armOrMips(), rz_egg_Cfile_check_cEnv(), rz_egg_Cfile_free_cEnv(), rz_egg_Cfile_getCompiler(), rz_str_newf(), rz_sys_cmd_strf(), rz_sys_getenv(), cEnv_t::SFLIBPATH, cEnv_t::SHDR, strdup(), cEnv_t::TEXT, and cEnv_t::TRIPLET.
Referenced by rz_egg_Cfile_parser().