Skip to main content

Crate yara_x_macros

Crate yara_x_macros 

Source

Attribute Macros§

module_export
Indicates that a function is exported from a YARA module and therefore it’s callable from YARA rules.
wasm_export
The wasm_export macro is used for declaring a Rust function that will be called from WASM.

Derive Macros§

ErrorEnum
The ErrorEnum macro is used with enums that define YARA errors and warnings.
ErrorStruct
The ErrorStruct derive macro generates boilerplate code for structs that define YARA errors and warnings.