| /minix3/minix/lib/libmagicrt/include/ |
| H A D | magic_structs.h | 10 struct _magic_type { struct 18 struct _magic_type **contained_types; argument 19 struct _magic_type **compatible_types; argument 33 struct _magic_type *type; argument 57 struct _magic_type *type; 80 struct _magic_type *type; 101 struct _magic_type type; 102 struct _magic_type *type_array[1]; 174 const struct _magic_type *parent_type; 177 const struct _magic_type *type; [all …]
|
| H A D | magic.h | 929 EXTERN struct _magic_type magic_default_type; 932 EXTERN struct _magic_type magic_default_ret_addr_type; 996 EXTERN struct _magic_type *MAGIC_VOID_PTR_TYPE; 997 EXTERN struct _magic_type *MAGIC_VOID_PTR_INT_CAST_TYPE; 998 EXTERN struct _magic_type *MAGIC_VOID_ARRAY_TYPE; 999 EXTERN struct _magic_type *MAGIC_PTRINT_TYPE; 1000 EXTERN struct _magic_type *MAGIC_PTRINT_ARRAY_TYPE; 1074 PUBLIC struct _magic_type* magic_type_lookup_by_name(const char *name); 1093 PUBLIC void magic_print_type(const struct _magic_type* type); 1097 PUBLIC void magic_type_str_print(const struct _magic_type* type); [all …]
|
| H A D | magic_analysis.h | 16 EXTERN const struct _magic_type magic_NULL_ENTRY_TYPE; 17 EXTERN const struct _magic_type magic_ENTRY_NOT_FOUND_TYPE; 18 EXTERN const struct _magic_type magic_BAD_OFFSET_TYPE; 19 EXTERN const struct _magic_type magic_BAD_ENTRY_TYPE; 20 EXTERN const struct _magic_type magic_BAD_VALUE_TYPE; 21 EXTERN const struct _magic_type magic_VALUE_FOUND; 308 void ****ptr_map, const struct _magic_type ***ptr_type_map, int *ptr_num); 387 PUBLIC int magic_type_count_ptrs(const struct _magic_type* type, int *ptr_num); 390 PUBLIC int magic_type_examine_ptr_cb(const struct _magic_type* parent_type, 391 const unsigned parent_offset, int child_num, const struct _magic_type* type, [all …]
|
| H A D | magic_mem.h | 6 #define __MA_ARGS__ struct _magic_type *type, const char *name, const char *parent_name, 26 void *data_ptr, struct _magic_type *type, size_t size, int flags, 29 struct _magic_type *type, size_t size, int flags, 38 PUBLIC int magic_update_dsentry(void* addr, struct _magic_type *type); 48 void *data_ptr, struct _magic_type *type, int flags,
|
| /minix3/minix/lib/libmagicrt/ |
| H A D | magic.c | 158 MAGIC_VAR struct _magic_type *MAGIC_VOID_PTR_TYPE = NULL; 159 MAGIC_VAR struct _magic_type *MAGIC_VOID_PTR_INT_CAST_TYPE = NULL; 160 MAGIC_VAR struct _magic_type *MAGIC_VOID_ARRAY_TYPE = NULL; 161 MAGIC_VAR struct _magic_type *MAGIC_PTRINT_TYPE = NULL; 162 MAGIC_VAR struct _magic_type *MAGIC_PTRINT_ARRAY_TYPE = NULL; 189 PRIVATE THREAD_LOCAL const struct _magic_type* magic_nested_types[MAGIC_MAX_RECURSIVE_TYPES] = {0}; 190 PRIVATE THREAD_LOCAL const struct _magic_type* magic_nested_types2[MAGIC_MAX_RECURSIVE_TYPES] = {0}; 197 PUBLIC struct _magic_type magic_default_type = { 232 PUBLIC struct _magic_type magic_default_ret_addr_type = { 390 static struct _magic_type _magic_void_ptr_type_buff; in magic_types_init() [all …]
|
| H A D | magic_analysis.c | 10 PUBLIC const struct _magic_type magic_NULL_ENTRY_TYPE = MAGIC_TYPE_SPECIAL_INIT(magic_ne_str); 11 PUBLIC const struct _magic_type magic_ENTRY_NOT_FOUND_TYPE = MAGIC_TYPE_SPECIAL_INIT(magic_enf_str); 12 PUBLIC const struct _magic_type magic_BAD_OFFSET_TYPE = MAGIC_TYPE_SPECIAL_INIT(magic_bo_str); 13 PUBLIC const struct _magic_type magic_BAD_ENTRY_TYPE = MAGIC_TYPE_SPECIAL_INIT(magic_be_str); 14 PUBLIC const struct _magic_type magic_BAD_VALUE_TYPE = MAGIC_TYPE_SPECIAL_INIT(magic_bv_str); 15 PUBLIC const struct _magic_type magic_VALUE_FOUND = MAGIC_TYPE_SPECIAL_INIT(magic_vf_str); 44 …tract_ptrs(struct _magic_sentry* entry, void ****ptr_map, const struct _magic_type ***ptr_type_map… in magic_sentry_extract_ptrs() 60 …*ptr_type_map = (const struct _magic_type **) malloc((*ptr_num)*sizeof(const struct _magic_type *)… in magic_sentry_extract_ptrs() 308 PUBLIC int magic_type_count_ptrs(const struct _magic_type* type, int* ptr_num) in magic_type_count_ptrs() 322 PUBLIC int magic_type_examine_ptr_cb(const struct _magic_type* parent_type, in magic_type_examine_ptr_cb() [all …]
|
| H A D | magic_selement.c | 86 PUBLIC int magic_selement_name_print_cb(const struct _magic_type* parent_type, in magic_selement_name_print_cb() 88 const struct _magic_type* type, const unsigned offset, int depth, void* cb_args) in magic_selement_name_print_cb() 121 PUBLIC int magic_selement_name_get_cb(const struct _magic_type *parent_type, in magic_selement_name_get_cb() 122 const unsigned parent_offset, int child_num, const struct _magic_type *type, in magic_selement_name_get_cb() 240 const struct _magic_type* type = selement->type; in magic_selement_to_unsigned() 275 const struct _magic_type* type = selement->type; in magic_selement_to_int() 311 const struct _magic_type* type = selement->type; in magic_selement_to_llu() 331 const struct _magic_type* type = selement->type; in magic_selement_to_ll() 352 const struct _magic_type* type = selement->type; in magic_selement_to_float() 383 const struct _magic_type* type = selement->type; in magic_selement_to_ptr() [all …]
|
| H A D | magic_st.c | 228 static int is_typename(const char *search_key, struct _magic_type *type) in is_typename() 268 PRIVATE void set_typename_key(struct _magic_type *type) in set_typename_key() 370 …BLIC void st_cb_selement_type_cast(const struct _magic_type* new_selement_type, const struct _magi… in st_cb_selement_type_cast() 599 const struct _magic_type *first_trg_type; in transfer_ptr_sel_cb() 832 PRIVATE int st_map_selement_from_sentry_cb(const struct _magic_type* parent_type, in st_map_selement_from_sentry_cb() 834 const struct _magic_type* type, const unsigned offset, int depth, void* cb_args) in st_map_selement_from_sentry_cb() 1052 const struct _magic_type *cached_type = cached_selement->type; in st_cb_map_child_struct_selement_generic() 1053 const struct _magic_type *local_type = local_selement->type; in st_cb_map_child_struct_selement_generic() 1171 const struct _magic_type *cached_parent_type = cached_selement->parent_type; in st_map_selement() 1172 const struct _magic_type *local_parent_type = local_selement->parent_type; in st_map_selement() [all …]
|
| H A D | magic_ds.c | 20 static const struct _magic_type* _magic_dsi_mem_type = NULL; in sef_cb_sf_transfer_dsi_u()
|
| H A D | magic_mem.c | 420 void *data_ptr, struct _magic_type *type, size_t size, int flags, in magic_create_dsentry() 469 struct _magic_type *array_type = &(dsentry->type); in magic_create_dsentry() 546 struct _magic_type *type, size_t size, int flags, in magic_create_obdsentry() 896 PUBLIC int magic_update_dsentry(void* addr, struct _magic_type *type) in magic_update_dsentry() 922 struct _magic_type *array_type = &(dsentry->type); in magic_update_dsentry() 1003 struct _magic_type *type; in magic_stack_dsentries_create() 1018 type = va_arg(va, struct _magic_type *); in magic_stack_dsentries_create() 1030 memcpy(type, &magic_default_ret_addr_type, sizeof(struct _magic_type)); in magic_stack_dsentries_create() 1097 void *data_ptr, struct _magic_type *type, int flags, in magic_create_dfunction()
|
| /minix3/minix/lib/libmagicrt/include/st/ |
| H A D | metadata_transfer.h | 16 struct _magic_type *type, struct _magic_vars_t *cached_magic_vars,
|
| H A D | state_transfer.h | 96 …BLIC void st_cb_selement_type_cast(const struct _magic_type* new_selement_type, const struct _magi…
|