Rizin
unix-like reverse engineering framework and cli tools
rz-run.c
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2011-2019 pancake <pancake@nopcode.org>
2 // SPDX-License-Identifier: LGPL-3.0-only
3 
4 #include <rz_main.h>
5 
6 int MAIN_NAME(int argc, const ARGV_TYPE **argv) {
7  char **utf8_argv = ARGV_TYPE_TO_UTF8(argc, argv);
8  int ret = rz_main_rz_run(argc, (const char **)utf8_argv);
9  FREE_UTF8_ARGV(argc, utf8_argv);
10  return ret;
11 }
int MAIN_NAME(int argc, const ARGV_TYPE **argv)
Definition: rz-run.c:6
RZ_API int rz_main_rz_run(int argc, const char **argv)
Definition: rz-run.c:25
static static fork const void static count static fd const char const char static newpath char char argv
Definition: sflib.h:40
#define ARGV_TYPE_TO_UTF8(argc, argv)
Definition: rz_main.h:30
#define FREE_UTF8_ARGV(argc, utf8_argv)
Definition: rz_main.h:31
#define ARGV_TYPE
Definition: rz_main.h:29