Rizin
unix-like reverse engineering framework and cli tools
egg_shya.c File Reference

Go to the source code of this file.

Functions

static RzBufferbuild (RzEgg *egg)
 

Variables

RzEggPlugin rz_egg_plugin_shya
 

Function Documentation

◆ build()

static RzBuffer* build ( RzEgg egg)
static

Definition at line 15 of file egg_shya.c.

15  {
17  char *key = rz_egg_option_get(egg, "key");
18  char *seed = rz_egg_option_get(egg, "seed");
19  eprintf("TODO: shoorisu yagana shellcode encoder\n");
20  free(key);
21  free(seed);
22  return buf;
23 }
#define NULL
Definition: cris-opc.c:27
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len key
Definition: sflib.h:118
RZ_API char * rz_egg_option_get(RzEgg *egg, const char *key)
Definition: egg.c:534
RZ_API void Ht_() free(HtName_(Ht) *ht)
Definition: ht_inc.c:130
voidpf void * buf
Definition: ioapi.h:138
#define eprintf(x, y...)
Definition: rlcc.c:7
RZ_API RZ_OWN RzBuffer * rz_buf_new_with_bytes(RZ_NULLABLE RZ_BORROW const ut8 *bytes, ut64 len)
Creates a new buffer with a bytes array.
Definition: buf.c:465

References eprintf, free(), key, NULL, rz_buf_new_with_bytes(), and rz_egg_option_get().

Variable Documentation

◆ rz_egg_plugin_shya

RzEggPlugin rz_egg_plugin_shya
Initial value:
= {
.name = "shya",
.desc = "shoorisu yagana",
.build = (void *)build
}
static RzBuffer * build(RzEgg *egg)
Definition: egg_shya.c:15
#define RZ_EGG_PLUGIN_ENCODER
Definition: rz_egg.h:20

Definition at line 25 of file egg_shya.c.