|
Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_userconf.h>#include "file.h"#include <string.h>#include <ctype.h>#include <sys/types.h>#include "tar.h"Go to the source code of this file.
Macros | |
| #define | isodigit(c) (((c) >= '0') && ((c) <= '7')) |
Functions | |
| static int | from_oct (int digs, const char *where) |
| static int | is_tar (const ut8 *buf, size_t nbytes) |
| int | file_is_tar (RzMagic *ms, const ut8 *buf, size_t nbytes) |
Variables | |
| static const char | tartype [][32] |
Definition at line 125 of file is_tar.c.
References file_printf(), is_tar(), mime, nbytes, tar(), and tartype.
Definition at line 87 of file is_tar.c.
References from_oct(), GNUTMAGIC, header, i, nbytes, p, and TMAGIC.
Referenced by file_is_tar().
|
static |
Definition at line 50 of file is_tar.c.
Referenced by file_is_tar().