ReactOS 0.4.16-dev-306-g647d351
|
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winternl.h"
#include "wine/exception.h"
#include "wine/debug.h"
#include "dbghelp_private.h"
#include "wine/mscvpdb.h"
Go to the source code of this file.
Classes | |
struct | pdb_stream_name |
struct | pdb_file_info |
struct | pdb_module_info |
struct | cv_defined_module |
struct | codeview_type_parse |
struct | pevaluator |
struct | zvalue |
Macros | |
#define | NONAMELESSUNION |
#define | CV_MAX_MODULES 32 |
#define | MAX_BUILTIN_TYPES 0x06FF |
#define | FIRST_DEFINABLE_TYPE 0x1000 |
#define | CV_MAX_MODULES 32 |
#define | PEV_MAX_LEN 32 |
#define | PEV_ERROR(pev, msg) snprintf((pev)->error, sizeof((pev)->error), "%s", (msg)) |
#define | PEV_ERROR1(pev, msg, pmt) snprintf((pev)->error, sizeof((pev)->error), (msg), (pmt)) |
#define | MAKESIG(a, b, c, d) ((a) | ((b) << 8) | ((c) << 16) | ((d) << 24)) |
#define | CODEVIEW_NB09_SIG MAKESIG('N','B','0','9') |
#define | CODEVIEW_NB10_SIG MAKESIG('N','B','1','0') |
#define | CODEVIEW_NB11_SIG MAKESIG('N','B','1','1') |
#define | CODEVIEW_RSDS_SIG MAKESIG('R','S','D','S') |
Variables | |
static struct symt * | cv_basic_types [MAX_BUILTIN_TYPES] |
static struct cv_defined_module | cv_zmodules [CV_MAX_MODULES] |
static struct cv_defined_module * | cv_current_module |
static const char | PDB_JG_IDENT [] = "Microsoft C/C++ program database 2.00\r\n\032JG\0" |
static const char | PDB_DS_IDENT [] = "Microsoft C/C++ MSF 7.00\r\n\032DS\0" |
|
static |
Definition at line 1074 of file msc.c.
Referenced by codeview_parse_one_type().
Definition at line 562 of file msc.c.
Referenced by codeview_parse_one_type().
|
static |
Definition at line 666 of file msc.c.
Referenced by codeview_parse_one_type().
|
static |
Definition at line 983 of file msc.c.
Referenced by codeview_parse_one_type().
|
static |
Definition at line 678 of file msc.c.
Referenced by codeview_add_type_enum().
|
static |
Definition at line 651 of file msc.c.
Referenced by codeview_parse_one_type().
|
static |
Definition at line 1010 of file msc.c.
Referenced by codeview_parse_one_type().
|
static |
Definition at line 761 of file msc.c.
Referenced by codeview_add_type_struct_field_list(), and codeview_parse_one_type().
|
static |
Definition at line 725 of file msc.c.
Referenced by codeview_add_type_struct_field_list().
|
inlinestatic |
Definition at line 1562 of file msc.c.
Referenced by codeview_snarf(), and codeview_snarf_public().
|
static |
Definition at line 621 of file msc.c.
Referenced by codeview_add_type_enum(), codeview_add_type_pointer(), codeview_add_type_struct(), codeview_new_func_signature(), and codeview_parse_one_type().
Definition at line 602 of file msc.c.
Referenced by codeview_process_info(), and pdb_process_file().
|
static |
Definition at line 631 of file msc.c.
Referenced by codeview_add_func_signature_args(), codeview_add_type_array(), codeview_add_type_enum(), codeview_add_type_pointer(), codeview_add_udt_element(), and codeview_parse_one_type().
|
static |
Definition at line 1551 of file msc.c.
Referenced by codeview_add_variable(), codeview_snarf(), codeview_snarf_linetab(), codeview_snarf_linetab2(), and codeview_snarf_public().
Definition at line 513 of file msc.c.
Referenced by codeview_add_variable(), codeview_fetch_type(), codeview_parse_one_type(), and codeview_snarf().
Definition at line 140 of file msc.c.
Referenced by codeview_process_info(), and pdb_process_file().
|
inlinestatic |
Definition at line 555 of file msc.c.
Referenced by codeview_add_func_signature_args(), codeview_add_type_enum(), codeview_add_type_struct_field_list(), codeview_add_udt_element(), codeview_fetch_type(), and codeview_parse_type_table().
|
static |
Definition at line 1534 of file msc.c.
Referenced by codeview_get_address().
|
static |
Definition at line 1056 of file msc.c.
Referenced by codeview_parse_one_type().
|
static |
Definition at line 1103 of file msc.c.
Referenced by codeview_fetch_type(), and codeview_parse_type_table().
|
static |
Definition at line 1359 of file msc.c.
Referenced by codeview_process_info(), and pdb_process_types().
|
static |
Definition at line 3262 of file msc.c.
Referenced by pe_load_debug_directory().
|
static |
Definition at line 1584 of file msc.c.
Referenced by codeview_process_info(), and pdb_process_internal().
|
static |
Definition at line 1392 of file msc.c.
Referenced by codeview_process_info(), and pdb_process_internal().
|
static |
Definition at line 1458 of file msc.c.
Referenced by pdb_process_internal().
|
static |
Definition at line 2047 of file msc.c.
Referenced by pdb_process_internal().
Definition at line 95 of file msc.c.
Referenced by codeview_parse_one_type(), codeview_snarf(), DumpCommand(), ok_sequence_(), pdb_init(), and xmlMemoryDump().
Definition at line 259 of file msc.c.
Referenced by codeview_snarf().
|
static |
Definition at line 2443 of file msc.c.
Referenced by pdb_process_internal().
Definition at line 385 of file msc.c.
Referenced by codeview_add_type_enum_field_list(), codeview_add_type_struct_field_list(), and codeview_parse_one_type().
|
static |
Definition at line 2421 of file msc.c.
Referenced by pdb_process_internal().
|
static |
Definition at line 2391 of file msc.c.
Referenced by pdb_process_internal().
Definition at line 2368 of file msc.c.
Referenced by pdb_process_types().
|
static |
Definition at line 2190 of file msc.c.
Referenced by pdb_init(), and pdb_read_ds_file().
BOOL pdb_fetch_file_info | ( | const struct pdb_lookup * | pdb_lookup, |
unsigned * | matched | ||
) |
Definition at line 2913 of file msc.c.
Referenced by module_find_cb().
Definition at line 2264 of file msc.c.
Referenced by pdb_free_file(), pdb_init(), pdb_process_internal(), pdb_process_types(), pdb_read_strings(), and pdb_virtual_unwind().
|
static |
Definition at line 2269 of file msc.c.
Referenced by pdb_fetch_file_info(), and pdb_module_remove().
|
static |
Definition at line 2254 of file msc.c.
Referenced by pdb_init(), pdb_process_internal(), and pdb_virtual_unwind().
|
static |
Definition at line 2326 of file msc.c.
Referenced by pdb_read_strings().
|
static |
Definition at line 2539 of file msc.c.
Referenced by pdb_fetch_file_info(), and pdb_process_internal().
|
static |
Definition at line 2172 of file msc.c.
Referenced by pdb_init(), and pdb_read_jg_file().
|
static |
Definition at line 2285 of file msc.c.
Referenced by pdb_init().
|
static |
Definition at line 2353 of file msc.c.
Referenced by pdb_process_file().
|
static |
Definition at line 3147 of file msc.c.
Referenced by pdb_virtual_unwind().
|
static |
Definition at line 2862 of file msc.c.
Referenced by codeview_process_info().
|
static |
Definition at line 2721 of file msc.c.
Referenced by pdb_process_file(), and pdb_process_symbol_imports().
|
static |
Definition at line 2658 of file msc.c.
Referenced by pdb_process_internal().
|
static |
Definition at line 2476 of file msc.c.
Referenced by pdb_process_internal().
|
static |
Definition at line 2223 of file msc.c.
Referenced by pdb_init(), and pdb_read_file().
|
static |
Definition at line 2239 of file msc.c.
Referenced by pdb_init(), pdb_process_internal(), pdb_process_types(), pdb_read_strings(), and pdb_virtual_unwind().
|
static |
Definition at line 2208 of file msc.c.
Referenced by pdb_init(), and pdb_read_file().
|
static |
Definition at line 2337 of file msc.c.
Referenced by pdb_process_internal(), and pdb_virtual_unwind().
BOOL pdb_virtual_unwind | ( | struct cpu_stack_walk * | csw, |
DWORD_PTR | ip, | ||
union ctx * | context, | ||
struct pdb_cmd_pair * | cpair | ||
) |
Definition at line 3200 of file msc.c.
Referenced by fetch_next_frame32().
BOOL pe_load_debug_directory | ( | const struct process * | pcs, |
struct module * | module, | ||
const BYTE * | mapping, | ||
const IMAGE_SECTION_HEADER * | sectp, | ||
DWORD | nsect, | ||
const IMAGE_DEBUG_DIRECTORY * | dbg, | ||
int | nDbg | ||
) |
Definition at line 3391 of file msc.c.
Referenced by pe_load_dbg_file(), and pe_load_msc_debug_info().
|
static |
Definition at line 3104 of file msc.c.
Referenced by pdb_parse_cmd_string().
|
static |
Definition at line 3069 of file msc.c.
Referenced by pdb_parse_cmd_string().
|
static |
Definition at line 3090 of file msc.c.
Referenced by pdb_parse_cmd_string().
|
static |
Definition at line 3134 of file msc.c.
Referenced by pdb_parse_cmd_string().
Definition at line 2981 of file msc.c.
Referenced by pev_free(), and pev_pop_val().
|
static |
Definition at line 3117 of file msc.c.
Referenced by pdb_parse_cmd_string().
|
static |
Definition at line 3024 of file msc.c.
Referenced by pev_assign(), and pev_pop_val().
|
static |
Definition at line 3033 of file msc.c.
Referenced by pev_assign(), pev_binop(), and pev_deref().
|
static |
Definition at line 3010 of file msc.c.
Referenced by pdb_parse_cmd_string(), pev_binop(), and pev_deref().
Definition at line 3041 of file msc.c.
Referenced by pev_assign(), and pev_init().
Definition at line 503 of file msc.c.
Referenced by codeview_add_type_enum_field_list(), codeview_add_type_struct_field_list(), codeview_parse_one_type(), codeview_snarf(), codeview_snarf_linetab(), and codeview_snarf_public().
WINE_DEFAULT_DEBUG_CHANNEL | ( | dbghelp_msc | ) |
|
static |
Definition at line 127 of file msc.c.
Referenced by codeview_get_type(), and codeview_init_basic_types().
|
static |
Definition at line 138 of file msc.c.
Referenced by codeview_add_type(), codeview_clear_type_table(), codeview_get_type(), codeview_process_info(), and pdb_process_symbol_imports().
|
static |
Definition at line 137 of file msc.c.
Referenced by codeview_clear_type_table(), codeview_get_type(), codeview_process_info(), pdb_process_file(), and pdb_process_symbol_imports().
Definition at line 2528 of file msc.c.
Referenced by pdb_init().