#include <sys/types.h>
#include <dirent.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
Go to the source code of this file.
Defines | |
#define | NAME_MAX 255 |
#define | OPT_FORCE_HEX 1 |
#define | ERROR(s...) { printf("error: " s); puts("\n"); exit(1); } |
#define | BUFSIZE 1024 |
#define | CHARS_PER_LINE 8 |
Functions | |
void | char2cchar (char *buf, char c) |
void | bin2c_table (int size, FILE *in, FILE *out) |
void | bin2c (char *name, int size, FILE *in, FILE *out, char *inname) |
void | bin2h (char *name, int size, FILE *out, char *outname) |
void | syntax (char *name) |
int | main (int argc, char *argv[]) |
Variables | |
int | options = 0 |
|
Definition at line 51 of file bin2c.c. Referenced by bin2c_table(). |
|
Definition at line 52 of file bin2c.c. Referenced by bin2c_table(). |
|
Definition at line 34 of file bin2c.c. Referenced by main(). |
|
|
|
Definition at line 30 of file bin2c.c. Referenced by char2cchar(). |
|
Definition at line 85 of file bin2c.c. References bin2c_table(), and size. Referenced by main(). |
|
Definition at line 54 of file bin2c.c. References buf, BUFSIZE, char2cchar(), CHARS_PER_LINE, and size. Referenced by bin2c(). |
|
Definition at line 93 of file bin2c.c. References NAME_MAX, and size. Referenced by main(). |
|
Definition at line 36 of file bin2c.c. References buf, OPT_FORCE_HEX, and options. Referenced by bin2c_table(). |
|
Definition at line 121 of file bin2c.c. References bin2c(), bin2h(), ERROR, NAME_MAX, NULL, and syntax(). |
|
Definition at line 115 of file bin2c.c. Referenced by main(), re_set_syntax(), and regcomp(). |
|
Definition at line 32 of file bin2c.c. Referenced by char2cchar(), cplus_demangle(), cplus_demangle_opname(), cplus_mangle_opname(), x86asm::encode(), Disassembler::hexd(), ht_vregex_search_form::init(), ht_evalstr_search_form::init(), ht_hexascii_search_form::init(), ht_xgroup::init(), ht_group::init(), ht_format_group::init(), x86dis::str(), javadis::str(), and sys_ipc_exec(). |