Type Alias YR_COMPILER
Source pub type YR_COMPILER = _YR_COMPILER;
#[repr(C)]
pub struct YR_COMPILER {Show 39 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: i32,
pub current_line: i32,
pub last_error: i32,
pub last_error_line: i32,
pub strict_escape: bool,
pub error_recovery: [__jmp_buf_tag; 1],
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 wildcard_identifiers_table: *mut _YR_HASH_TABLE,
pub sz_table: *mut _YR_HASH_TABLE,
pub fixup_stack_head: *mut [u64; 2],
pub num_namespaces: i32,
pub loop_: [[u64; 13]; 4],
pub loop_index: i32,
pub loop_for_of_var_index: i32,
pub file_name_stack: [*mut i8; 16],
pub file_name_stack_ptr: i32,
pub last_error_extra_info: [i8; 256],
pub lex_buf: [i8; 8192],
pub lex_buf_ptr: *mut i8,
pub lex_buf_len: u16,
pub include_base_dir: [i8; 4096],
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: Option<unsafe extern "C" fn(i32, *const i8, i32, *const YR_RULE, *const i8, *mut c_void)>,
pub include_callback: Option<unsafe extern "C" fn(*const i8, *const i8, *const i8, *mut c_void) -> *const i8>,
pub include_free: Option<unsafe extern "C" fn(*const i8, *mut c_void)>,
pub re_ast_callback: Option<unsafe extern "C" fn(*const YR_RULE, *const i8, *const RE_AST, *mut c_void)>,
pub atoms_config: YR_ATOMS_CONFIG,
}