Rizin
unix-like reverse engineering framework and cli tools
|
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <zip.h>
Go to the source code of this file.
Functions | |
static int | get_data (void **datap, size_t *sizep, const char *archive) |
static int | modify_archive (zip_t *za) |
static int | use_data (void *data, size_t size, const char *archive) |
int | main (int argc, char *argv[]) |
Definition at line 43 of file in-memory.c.
References ENOENT, benchmark::FILE, free(), fstat, malloc(), and NULL.
Referenced by main().
Definition at line 124 of file in-memory.c.
References argv, error(), free(), get_data(), malloc(), modify_archive(), NULL, zip_stat::size, src, use_data(), za, zip_close(), zip_error_fini(), zip_error_init(), zip_error_strerror(), zip_open_from_source(), zip_source_buffer_create(), zip_source_close(), zip_source_error(), zip_source_free(), zip_source_is_deleted(), zip_source_keep(), zip_source_open(), zip_source_read(), zip_source_stat(), and zip_strerror().
Definition at line 86 of file in-memory.c.
Referenced by main().
Definition at line 93 of file in-memory.c.
References ENOENT, benchmark::FILE, and NULL.
Referenced by main().