Sweden-Number/dlls/dbghelp
Eric Pouech acfcd84a05 dbghelp/dwarf: Workaround functions with multiple range of addresses.
gcc can emit functions with code spread across non contiguous code areas.
We used to register those functions with an address range enclosing all ranges
(meaning that all addresses not actually belonging to the function but
lying in that address range could be returned by dbghelp as belonging
to the function).

Work around this by registering the function with only the first range
of addresses (this will avoid the errors described above), but will
fail to mark the other address ranges as part of the function.

dbghelp doesn't seem to have explicit support of those cases, even if
pdb/codeview also support functions with multi range of addresses
(see S_SEPCODE).

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-10 20:16:26 +01:00
..
tests
Makefile.in dbghelp: Use the bundled zlib. 2021-10-18 11:08:00 +02:00
coff.c dbghelp: Make symt_add_func_line() last parameter an absolute address. 2021-10-29 21:27:41 +02:00
cpu_arm.c
cpu_arm64.c dbghelp: Ensure all adresses are stored at least in DWORD_PTR. 2021-09-10 20:22:11 +02:00
cpu_i386.c
cpu_x86_64.c dbghelp: Support UWOP_EPILOG in unwind. 2021-10-14 18:59:53 +02:00
dbghelp.c dbghelp: Implement SymSetScopeFromInlineContext for inlined frames. 2021-10-28 18:25:17 +02:00
dbghelp.spec dbghelp: Add stub implementations for the SymSetScope* functions. 2021-10-19 20:58:38 +02:00
dbghelp_private.h dbghelp: Attach a struct cpu* to every module. 2021-11-08 21:00:57 +01:00
dwarf.c dbghelp/dwarf: Workaround functions with multiple range of addresses. 2021-11-10 20:16:26 +01:00
dwarf.h dbghelp/dwarf: Add definitions of some GNU extensions for FORMs. 2021-09-14 21:35:52 +02:00
elf_module.c dbghelp: Use wide string literals. 2021-10-19 20:55:41 +02:00
image.c dbghelp: MapDebugInformation and UnmapDebugInformation are not available on 64 bit architectures. 2021-10-06 20:29:34 +02:00
image_private.h dbghelp: Added support for locating a .dwz file (GNU extension) attached to a debug file. 2021-09-16 22:22:44 +02:00
macho_module.c dbghelp: Use wide string literals. 2021-10-19 20:55:41 +02:00
minidump.c dbghelp: Use wide string literals. 2021-10-19 20:55:41 +02:00
module.c dbghelp: Use cpu from debuggee's modules rather than debugger's. 2021-11-08 21:00:57 +01:00
msc.c dbghelp/msc: Better detect whether IPI stream is present. 2021-11-10 20:14:08 +01:00
path.c dbghelp: Use wide string literals. 2021-10-19 20:55:41 +02:00
pe_module.c dbghelp: Correct type of exported function addresses in PE module. 2021-10-28 18:25:16 +02:00
source.c dbghelp: Harden inspection of Dwarf line number information. 2021-09-03 13:50:38 +02:00
stabs.c dbghelp: Use cpu from debuggee's modules rather than debugger's. 2021-11-08 21:00:57 +01:00
stack.c dbghelp: Implement StackWalkEx for inlined frames. 2021-10-28 18:25:16 +02:00
storage.c
symbol.c dbghelp: Check that we don't add same line number twice. 2021-11-08 21:00:57 +01:00
type.c dbghelp: Silence a couple of C++ oriented requests in SymGetTypeInfo(). 2021-10-29 21:28:32 +02:00
version.rc
wdbgexts.h