3 * These return allocated strings
5 char *get_typedef (MonoImage *m, int idx);
6 char *get_module (MonoImage *m, int idx);
7 char *get_assemblyref (MonoImage *m, int idx);
8 char *get_typeref (MonoImage *m, int idx);
9 char *get_typedef_or_ref (MonoImage *m, guint32 dor_token);
10 char *get_field_signature (MonoImage *m, guint32 blob_signature);
11 char *decode_literal (MonoImage *m, guint32 token);
12 char *get_field (MonoImage *m, guint32 token);
13 char *param_flags (guint32 f);
14 char *field_flags (guint32 f);
15 char *get_methodref_signature (MonoImage *m, guint32 blob_signature, const char *fancy);
16 char *get_constant (MonoImage *m, MonoTypeEnum t, guint32 blob_index);
17 char *get_token (MonoImage *m, guint32 token);
18 char *get_token_type (MonoImage *m, guint32 token);
19 char *get_typespec (MonoImage *m, guint32 blob_idx);
20 char *get_method (MonoImage *m, guint32 token);
23 char *dis_stringify_type (MonoImage *m, MonoType *type);
24 char *dis_stringify_token (MonoImage *m, guint32 token);
25 char *dis_stringify_array (MonoImage *m, MonoArrayType *array);
26 char *dis_stringify_modifiers (MonoImage *m, int n, MonoCustomMod *mod);
27 char *dis_stringify_param (MonoImage *m, MonoType *param);
28 char *dis_stringify_method_signature (MonoImage *m, MonoMethodSignature *method, int methoddef_row);
31 * These functions are used during the decoding of streams in the
32 * metadata heaps (a simple parsing).
34 * They return the `next' location to continue parsing from (ptr is
35 * the starting location).
37 * Results are returning in the pointer argument.
39 const char *get_encoded_typedef_or_ref (MonoImage *m, const char *ptr,
41 const char *get_encoded_value (const char *_ptr,
43 const char *get_custom_mod (MonoImage *m, const char *ptr,
45 const char *get_type (MonoImage *m, const char *ptr,
47 const char *get_ret_type (MonoImage *m, const char *ptr,
49 const char *get_param (MonoImage *m, const char *ptr,
51 const char *get_blob_encoded_size (const char *ptr, int *size);
53 MonoTypeEnum get_field_literal_type (MonoImage *m, guint32 blob_signature);