Rizin
unix-like reverse engineering framework and cli tools
pipe.c File Reference
#include <rz_lib.h>
#include <rz_core.h>
#include <rz_lang.h>
#include "pipe_helper.h"

Go to the source code of this file.

Functions

static int lang_pipe_file (RzLang *lang, const char *file)
 

Variables

RzLangPlugin rz_lang_plugin_pipe
 
RZ_API RzLibStruct rizin_plugin
 

Function Documentation

◆ lang_pipe_file()

static int lang_pipe_file ( RzLang lang,
const char *  file 
)
static

Definition at line 15 of file pipe.c.

15  {
16  return lang_pipe_run(lang, file, -1);
17 }
RZ_IPI int lang_pipe_run(RzLang *lang, const char *code, int len)
Definition: pipe_helper.c:132
Definition: gzappend.c:170

References lang_pipe_run().

Variable Documentation

◆ rizin_plugin

RZ_API RzLibStruct rizin_plugin
Initial value:
= {
.version = RZ_VERSION
}
RzLangPlugin rz_lang_plugin_pipe
Definition: pipe.c:19
@ RZ_LIB_TYPE_LANG
Definition: rz_lib.h:71
#define RZ_VERSION
Definition: rz_version.h:8

Definition at line 29 of file pipe.c.

◆ rz_lang_plugin_pipe

RzLangPlugin rz_lang_plugin_pipe
Initial value:
= {
.name = "pipe",
.ext = "pipe",
.license = "LGPL",
.desc = "Use #!pipe node script.js",
.run = lang_pipe_run,
.run_file = (void *)lang_pipe_file,
}
static int lang_pipe_file(RzLang *lang, const char *file)
Definition: pipe.c:15

Definition at line 19 of file pipe.c.