generate

package
v0.0.0-...-e3e5662 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Construct_foreach_loop

func Construct_foreach_loop(condition string, body []string, data_object *json.Json_t) []string

Constructs the code needed for a "foreach" loop

func Construct_if_else

func Construct_if_else(condition string, if_true_body []string, if_false_body []string, data_object *json.Json_t) []string

Constructs the code needed for a "if/else" statement

func Generate_go_functions

func Generate_go_functions(data_object *json.Json_t)

Converts each sub function into a corresponding set of golang code Creates all functions, loop, boot and call

func Generate_golang_code

func Generate_golang_code(gut []string, data_object *json.Json_t) []string

Converts evil code to golang code and returns it

func Generate_main

func Generate_main(data_object *json.Json_t)

Generates the main function of the malware

func Generate_structs

func Generate_structs(data_object *json.Json_t)

Generate different structs in the final malware

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL