Jacek Caban
|
1bbd54409a
|
dbghelp: Use loader_ops for fetch_file_info.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-03-24 19:43:38 +01:00 |
Jacek Caban
|
fec0157585
|
dbghelp: Introduce loader_ops to abstract platform-specific loader and use it to synchronize module list.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-03-24 19:43:38 +01:00 |
Jacek Caban
|
f30fdd1822
|
dbghelp: Move loader search functions to the end of module files.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-03-24 19:43:38 +01:00 |
Jacek Caban
|
724f433f39
|
dbghelp: Pass process struct to elf_enum_modules and macho_enum_modules.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-03-24 19:43:38 +01:00 |
Jacek Caban
|
ca49552f64
|
dbghelp: Introduce search_unix_path helper and use it in elf_search_and_load_file.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-03-23 20:58:59 +01:00 |
Jacek Caban
|
ee5d29b7aa
|
dbghelp: Use search_dll_path in elf_search_and_load_file.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-03-23 20:58:57 +01:00 |
Jacek Caban
|
77e880e6d2
|
dbghelp: Use file_name helper in more places.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-03-23 20:58:52 +01:00 |
Jacek Caban
|
1ece841d93
|
dbghelp: Use page size from sysinfo.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-03-20 19:32:33 +01:00 |
Jacek Caban
|
7544b9f6fb
|
dbghelp: Call GetSystemInfo in DllMain.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-03-20 19:32:31 +01:00 |
Jacek Caban
|
4694801e4f
|
dbghelp: Move elf_check_alternate implementation to module.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-03-17 20:27:02 +01:00 |
Jacek Caban
|
d386823979
|
dbghelp: Move get_dos_file_name to path.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-03-17 20:26:52 +01:00 |
Jacek Caban
|
171c6fadab
|
dbghelp: Use elf_check_debug_link in elf_locate_build_id_target.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-03-17 20:26:50 +01:00 |
Jacek Caban
|
c1d867fa87
|
dbghelp: Check checksum before mapping elf file.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-03-17 20:26:47 +01:00 |
Jacek Caban
|
5ba1c5960e
|
dbghelp: Pass module struct to elf_locate_debug_link.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-03-16 21:39:04 +01:00 |
Jacek Caban
|
e1b28a9c98
|
dbghelp: Support Windows paths in elf_locate_debug_link.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-03-16 21:39:00 +01:00 |
Jacek Caban
|
a5a6b0dcb6
|
dbghelp: Move HANDLE-based crc32 helper to dbghelp.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-03-16 21:38:56 +01:00 |
Jacek Caban
|
1d96af3627
|
dbghelp: Introduce generic image_unmap_file.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-03-16 21:38:52 +01:00 |
Jacek Caban
|
95a5f82961
|
dbghelp: Use vtbl to handle different image_file_map types.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-03-16 21:38:47 +01:00 |
Jacek Caban
|
02dfd959ca
|
dbghelp: Move alternate file map pointer to generic image_file_map.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-03-16 21:38:41 +01:00 |
Jacek Caban
|
a3e1c7fa02
|
dbghelp: Use generic image_find_section in elf_check_alternate.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-03-16 21:38:34 +01:00 |
Jacek Caban
|
a60b3985bf
|
dbghelp: Use Windows API to map ELF files.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-03-12 21:18:19 +01:00 |
Andreas Maier
|
8d096fb5e2
|
dbghelp: Set correct values in symt_fill_sym_info (SYMBOL_INFO).
Signed-off-by: Andreas Maier <staubim@quantentunnel.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-11-26 12:29:26 +01:00 |
Michael Stefaniuc
|
053a7e225c
|
dbghelp: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-07-13 00:18:02 +02:00 |
Zebediah Figura
|
99e818154a
|
dbghelp: Read the r_debug and link_map structs corresponding to the target's architecture.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-06-05 09:21:59 +02:00 |
Zebediah Figura
|
7e4fd17d5b
|
dbghelp: Translate the 32-bit ELF symbol struct to the 64-bit one.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-06-05 09:21:49 +02:00 |
Zebediah Figura
|
51ada19ac2
|
dbghelp: Read the Elf_auxv_t struct corresponding to the target's architecture.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-06-05 09:21:38 +02:00 |
Zebediah Figura
|
bb53152faa
|
dbghelp: Read the Elf_Dyn struct corresponding to the target's architecture.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-06-05 09:21:34 +02:00 |
Zebediah Figura
|
bd620ffb44
|
dbghelp: Read the ELF program header corresponding to the target's architecture.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-06-05 09:21:28 +02:00 |
Zebediah Figura
|
4005901773
|
dbghelp: Translate the 32-bit ELF section header to the 64-bit one.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-06-01 19:42:12 +02:00 |
Zebediah Figura
|
799e0bfa57
|
dbghelp: Translate the 32-bit ELF header to the 64-bit one.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-06-01 19:42:03 +02:00 |
Zebediah Figura
|
a612f1f56f
|
dbghelp: Detect ELF architecture before reading the whole header.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-06-01 19:41:54 +02:00 |
Zebediah Figura
|
c2c0e4fe51
|
dbghelp: Don't enforce child architecture in elf_map_file().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-06-01 19:41:46 +02:00 |
Zebediah Figura
|
185d9ee7eb
|
dbghelp: Correctly determine the wine loader base address.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-31 21:36:47 +02:00 |
Zebediah Figura
|
a981edf0bc
|
dbghelp: Determine the wine loader name from the target process's architecture.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-31 21:36:42 +02:00 |
Alexandre Julliard
|
74f05b8660
|
dbghelp: Use the main module load address from the PEB.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-04-25 20:53:04 +02:00 |
Michael Stefaniuc
|
c8ab4004ad
|
dbghelp: Use CONTAINING_RECORD instead of reimplementing it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-03-08 21:29:15 +09:00 |
Frédéric Delanoy
|
d066561625
|
dbghelp: Constify some character strings.
|
2013-12-16 12:02:49 +01:00 |
Frédéric Delanoy
|
5ba7f79bad
|
Assorted spelling fixes.
|
2013-12-03 19:41:53 +01:00 |
Huw Davies
|
96e32da5c9
|
dbghelp: Add a couple of structures that are missing from the Android ndk.
|
2013-09-23 20:32:21 +02:00 |
Andrew Talbot
|
ddf922d7a1
|
dbghelp: Avoid signed-unsigned integer comparisons.
|
2013-01-15 12:14:11 +01:00 |
Alexandre Julliard
|
a81996d757
|
dbghelp: Use sysconf() instead of getpagesize().
|
2013-01-09 12:15:25 +01:00 |
Andrew Talbot
|
9feb4053fe
|
dbghelp: Indentation fix.
|
2012-12-17 11:47:38 +01:00 |
Gerald Pfeifer
|
6cb7cd1983
|
dbghelp: Avoid unconditional use of NT_GNU_BUILD_ID.
|
2012-06-04 12:17:55 +02:00 |
Eric Pouech
|
d647bd108c
|
dbghelp: Use build-id information to locate debug information (and prefer it over .debug_link when both are present).
|
2012-06-01 13:24:36 +02:00 |
Eric Pouech
|
8328606141
|
dbghelp: Store the 32/64 bitness in the image structure.
|
2012-02-14 12:31:48 +01:00 |
André Hentschel
|
bfdc93cdc5
|
dbghelp: Remove superfluous PATH_MAX defines.
|
2011-10-11 19:44:33 +02:00 |
Frédéric Delanoy
|
f932abf326
|
dlls: Assorted spelling fixes.
|
2011-08-01 18:26:27 +02:00 |
André Hentschel
|
5d0d2ef893
|
dbghelp: Remove dead code (clang).
|
2011-07-11 11:51:11 +02:00 |
Frédéric Delanoy
|
e35cdaa138
|
dbghelp: Remove dead code (Clang).
|
2011-07-05 14:43:43 +02:00 |
Gerald Pfeifer
|
d93b6c0aa2
|
dbghelp: Add a return statement for the default/assert case in elf_map_file.
|
2011-04-01 10:48:57 +02:00 |