#include "hprof.h"#include "hprof_b_spec.h"
Go to the source code of this file.
Data Structures | |
| struct | UmapInfo |
| struct | Finfo |
| struct | CmapInfo |
Defines | |
| #define | CASE_HEAP(name) case name: label = #name; |
| #define | CASE_TAG(name) case name: label = #name; |
Typedefs | |
| typedef TableIndex | HprofId |
Functions | |
| static void | read_raw (unsigned char **pp, unsigned char *buf, int len) |
| static unsigned | read_u1 (unsigned char **pp) |
| static unsigned | read_u2 (unsigned char **pp) |
| static unsigned | read_u4 (unsigned char **pp) |
| static jlong | read_u8 (unsigned char **pp) |
| static HprofId | read_id (unsigned char **pp) |
| static void | system_error (const char *system_call, int rc, int errnum) |
| static void | system_write (int fd, void *buf, int len) |
| static void | check_flush (void) |
| static jvalue | read_val (unsigned char **pp, HprofType ty) |
| static void | check_raw (void *buf, int len) |
| static void | check_printf (char *fmt,...) |
| static void | check_printf_val (HprofType ty, jvalue val, int long_form) |
| static void | check_printf_str (char *str) |
| static void | check_print_utf8 (struct LookupTable *utab, char *prefix, HprofId id) |
| static void | add_inst_field_to_cmap (CmapInfo *cmap, HprofId id, HprofType ty) |
| static void | cmap_cleanup (TableIndex i, void *key_ptr, int key_len, void *info, void *data) |
| static int | check_heap_tags (struct LookupTable *utab, unsigned char *pstart, int nbytes) |
| static void | utab_cleanup (TableIndex i, void *key_ptr, int key_len, void *info, void *data) |
| static int | check_tags (unsigned char *pstart, int nbytes) |
| static void * | get_binary_file_image (char *filename, int *pnbytes) |
| void | check_binary_file (char *filename) |
Variables | |
| static int | type_size [] = HPROF_TYPE_SIZES |
Definition at line 408 of file hprof_check.c.
| typedef TableIndex HprofId |
Definition at line 49 of file hprof_check.c.
| void check_binary_file | ( | char * | filename | ) |
Definition at line 1122 of file hprof_check.c.


| static void check_flush | ( | void | ) | [static] |
Definition at line 169 of file hprof_check.c.


| static int check_heap_tags | ( | struct LookupTable * | utab, | |
| unsigned char * | pstart, | |||
| int | nbytes | |||
| ) | [static] |
Definition at line 412 of file hprof_check.c.


| static void check_print_utf8 | ( | struct LookupTable * | utab, | |
| char * | prefix, | |||
| HprofId | id | |||
| ) | [static] |
Definition at line 342 of file hprof_check.c.


| static void check_printf | ( | char * | fmt, | |
| ... | ||||
| ) | [static] |
Definition at line 242 of file hprof_check.c.


| static void check_printf_str | ( | char * | str | ) | [static] |
Definition at line 318 of file hprof_check.c.


| static void check_printf_val | ( | HprofType | ty, | |
| jvalue | val, | |||
| int | long_form | |||
| ) | [static] |
Definition at line 260 of file hprof_check.c.


| static void check_raw | ( | void * | buf, | |
| int | len | |||
| ) | [static] |
Definition at line 219 of file hprof_check.c.


| static int check_tags | ( | unsigned char * | pstart, | |
| int | nbytes | |||
| ) | [static] |
Definition at line 842 of file hprof_check.c.


| static void cmap_cleanup | ( | TableIndex | i, | |
| void * | key_ptr, | |||
| int | key_len, | |||
| void * | info, | |||
| void * | data | |||
| ) | [static] |
| static void* get_binary_file_image | ( | char * | filename, | |
| int * | pnbytes | |||
| ) | [static] |
Definition at line 1088 of file hprof_check.c.


| static HprofId read_id | ( | unsigned char ** | pp | ) | [static] |
Definition at line 128 of file hprof_check.c.


| static void read_raw | ( | unsigned char ** | pp, | |
| unsigned char * | buf, | |||
| int | len | |||
| ) | [static] |
| static unsigned read_u1 | ( | unsigned char ** | pp | ) | [static] |
Definition at line 91 of file hprof_check.c.


| static unsigned read_u2 | ( | unsigned char ** | pp | ) | [static] |
Definition at line 99 of file hprof_check.c.


| static unsigned read_u4 | ( | unsigned char ** | pp | ) | [static] |
Definition at line 107 of file hprof_check.c.


| static jlong read_u8 | ( | unsigned char ** | pp | ) | [static] |
Definition at line 115 of file hprof_check.c.


| static jvalue read_val | ( | unsigned char ** | pp, | |
| HprofType | ty | |||
| ) | [static] |
Definition at line 182 of file hprof_check.c.


| static void system_error | ( | const char * | system_call, | |
| int | rc, | |||
| int | errnum | |||
| ) | [static] |
Definition at line 135 of file hprof_check.c.


| static void system_write | ( | int | fd, | |
| void * | buf, | |||
| int | len | |||
| ) | [static] |
Definition at line 156 of file hprof_check.c.


| static void utab_cleanup | ( | TableIndex | i, | |
| void * | key_ptr, | |||
| int | key_len, | |||
| void * | info, | |||
| void * | data | |||
| ) | [static] |
int type_size[] = HPROF_TYPE_SIZES [static] |
Definition at line 53 of file hprof_check.c.
1.6.1