#[repr(C)]
pub struct _YR_COMPILER {
Show 37 fields pub arena: *mut YR_ARENA, pub current_rule_idx: u32, pub next_rule_idx: u32, pub current_string_idx: u32, pub current_namespace_idx: u32, pub current_meta_idx: u32, pub rules: *mut YR_RULES, pub errors: c_int, pub current_line: c_int, pub last_error: c_int, pub last_error_line: c_int, pub error_recovery: jmp_buf, pub automaton: *mut YR_AC_AUTOMATON, pub rules_table: *mut YR_HASH_TABLE, pub objects_table: *mut YR_HASH_TABLE, pub strings_table: *mut YR_HASH_TABLE, pub sz_table: *mut YR_HASH_TABLE, pub fixup_stack_head: *mut YR_FIXUP, pub num_namespaces: c_int, pub loop_: [YR_LOOP_CONTEXT; 4], pub loop_index: c_int, pub loop_for_of_var_index: c_int, pub file_name_stack: [*mut c_char; 16], pub file_name_stack_ptr: c_int, pub last_error_extra_info: [c_char; 256], pub lex_buf: [c_char; 8192], pub lex_buf_ptr: *mut c_char, pub lex_buf_len: c_ushort, pub include_base_dir: [c_char; 1024], pub user_data: *mut c_void, pub incl_clbk_user_data: *mut c_void, pub re_ast_clbk_user_data: *mut c_void, pub callback: YR_COMPILER_CALLBACK_FUNC, pub include_callback: YR_COMPILER_INCLUDE_CALLBACK_FUNC, pub include_free: YR_COMPILER_INCLUDE_FREE_FUNC, pub re_ast_callback: YR_COMPILER_RE_AST_CALLBACK_FUNC, pub atoms_config: YR_ATOMS_CONFIG,
}

Fields

arena: *mut YR_ARENAcurrent_rule_idx: u32next_rule_idx: u32current_string_idx: u32current_namespace_idx: u32current_meta_idx: u32rules: *mut YR_RULESerrors: c_intcurrent_line: c_intlast_error: c_intlast_error_line: c_interror_recovery: jmp_bufautomaton: *mut YR_AC_AUTOMATONrules_table: *mut YR_HASH_TABLEobjects_table: *mut YR_HASH_TABLEstrings_table: *mut YR_HASH_TABLEsz_table: *mut YR_HASH_TABLEfixup_stack_head: *mut YR_FIXUPnum_namespaces: c_intloop_: [YR_LOOP_CONTEXT; 4]loop_index: c_intloop_for_of_var_index: c_intfile_name_stack: [*mut c_char; 16]file_name_stack_ptr: c_intlast_error_extra_info: [c_char; 256]lex_buf: [c_char; 8192]lex_buf_ptr: *mut c_charlex_buf_len: c_ushortinclude_base_dir: [c_char; 1024]user_data: *mut c_voidincl_clbk_user_data: *mut c_voidre_ast_clbk_user_data: *mut c_voidcallback: YR_COMPILER_CALLBACK_FUNCinclude_callback: YR_COMPILER_INCLUDE_CALLBACK_FUNCinclude_free: YR_COMPILER_INCLUDE_FREE_FUNCre_ast_callback: YR_COMPILER_RE_AST_CALLBACK_FUNCatoms_config: YR_ATOMS_CONFIG

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.