Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
e15e9331
Commit
e15e9331
authored
Jun 24, 2015
by
Ken Thomases
Committed by
Alexandre Julliard
Jun 25, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Move the macho_file_map structure into image_file_map.
parent
dcbec3bf
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
0 deletions
+32
-0
image_private.h
dlls/dbghelp/image_private.h
+32
-0
macho_module.c
dlls/dbghelp/macho_module.c
+0
-0
No files found.
dlls/dbghelp/image_private.h
View file @
e15e9331
...
...
@@ -42,6 +42,17 @@
#ifdef HAVE_SYS_LINK_H
# include <sys/link.h>
#endif
#ifdef HAVE_MACH_O_LOADER_H
#include <mach-o/loader.h>
#ifdef _WIN64
typedef
struct
mach_header_64
macho_mach_header
;
typedef
struct
section_64
macho_section
;
#else
typedef
struct
mach_header
macho_mach_header
;
typedef
struct
section
macho_section
;
#endif
#endif
#define IMAGE_NO_MAP ((void*)-1)
...
...
@@ -94,6 +105,27 @@ struct image_file_map
}
*
sect
;
#endif
}
elf
;
struct
macho_file_map
{
size_t
segs_size
;
size_t
segs_start
;
int
fd
;
#ifdef HAVE_MACH_O_LOADER_H
macho_mach_header
mach_header
;
const
struct
load_command
*
load_commands
;
/* The offset in the file which is this architecture. mach_header was
* read from arch_offset. */
unsigned
arch_offset
;
int
num_sections
;
struct
{
const
macho_section
*
section
;
}
*
sect
;
#endif
}
macho
;
struct
pe_file_map
{
HANDLE
hMap
;
...
...
dlls/dbghelp/macho_module.c
View file @
e15e9331
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment