72 if (!
strcmp(
name,
"__RUNTIME_PSEUDO_RELOC_LIST__"))
80 const void* rsym_ptr,
int rsymlen)
91 RosSymHeader = rsym_ptr;
95 || rsymlen < RosSymHeader->StringsOffset + RosSymHeader->
StringsLength
98 WARN(
"Invalid ROSSYM_HEADER\n");
113 if (!
Entry->FileOffset)
120 const char* SymbolName =
Strings +
Entry->FunctionOffset;
154 func->next = first_func;
167 first_func = first_func->next;
int strcmp(const char *String1, const char *String2)
ACPI_SIZE strlen(const char *String)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
struct symt_hierarchy_point * symt_add_function_point(struct module *module, struct symt_function *func, enum SymTagEnum point, const struct location *loc, const char *name) DECLSPEC_HIDDEN
struct symt_function * symt_new_function(struct module *module, struct symt_compiland *parent, const char *name, ULONG_PTR addr, ULONG_PTR size, struct symt *type) DECLSPEC_HIDDEN
void sparse_array_init(struct sparse_array *sa, unsigned elt_sz, unsigned bucket_sz) DECLSPEC_HIDDEN
void pool_init(struct pool *a, size_t arena_size) DECLSPEC_HIDDEN
void pool_destroy(struct pool *a) DECLSPEC_HIDDEN
unsigned source_new(struct module *module, const char *basedir, const char *source) DECLSPEC_HIDDEN
struct symt_public * symt_new_public(struct module *module, struct symt_compiland *parent, const char *typename, BOOL is_function, ULONG_PTR address, unsigned size) DECLSPEC_HIDDEN
void * sparse_array_add(struct sparse_array *sa, ULONG_PTR key, struct pool *pool) DECLSPEC_HIDDEN
void * sparse_array_find(const struct sparse_array *sa, ULONG_PTR idx) DECLSPEC_HIDDEN
BOOL symt_fill_func_line_info(const struct module *module, const struct symt_function *func, DWORD64 addr, IMAGEHLP_LINE64 *line) DECLSPEC_HIDDEN
void symt_add_func_line(struct module *module, struct symt_function *func, unsigned source_idx, int line_num, ULONG_PTR offset) DECLSPEC_HIDDEN
BOOL symt_normalize_function(struct module *module, const struct symt_function *func) DECLSPEC_HIDDEN
BOOL symt_get_func_line_next(const struct module *module, PIMAGEHLP_LINE64 line) DECLSPEC_HIDDEN
static const WCHAR Strings[]
struct rsym_func_entry_s rsym_func_entry_t
struct rsym_file_entry_s rsym_file_entry_t
static int use_raw_address(const char *name)
static int is_metadata_sym(const char *name)
BOOL rsym_parse(struct module *module, unsigned long load_offset, const void *rsym_ptr, int rsymlen)
static void rsym_finalize_function(struct module *module, struct symt_function *func)
struct _ROSSYM_ENTRY ROSSYM_ENTRY
base of all file and directory entries
IMAGEHLP_MODULEW64 module
struct rsym_func_entry_s * next
struct symt_function * func
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size