1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-27 21:43:42 +01:00
libunwind-eh_elf/src/x86
Tommi Rantala 5fef17c05d Fix memory leaks in unw_create_addr_space() wrong-endian error paths
Check the endianness earlier in unw_create_addr_space() on all
architectures to avoid leaking the dynamically allocated address space
struct.

This was already fixed for ARM in commit cf6a998796 ("Fix memory leak
in ARM unw_create_addr_space()"). Move the endianness check also on ARM
to avoid malloc() & free() in the error case.
2012-08-21 22:33:29 +03:00
..
Gcreate_addr_space.c Fix memory leaks in unw_create_addr_space() wrong-endian error paths 2012-08-21 22:33:29 +03:00
getcontext-freebsd.S Add unwind annotations for freebsd/x86 getcontext.S. 2010-05-02 17:06:24 +03:00
getcontext-linux.S Add unwind descriptors to getcontext.S 2010-04-28 16:32:30 -07:00
Gget_proc_info.c Rename: src/x86/Gget_proc_info-x86.c -> src/x86/Gget_proc_info.c 2004-08-17 15:34:28 +00:00
Gget_save_loc.c Fix incorrect calls to memset. 2011-10-02 22:43:28 -07:00
Gglobal.c Allow caller to block signals. 2009-09-25 09:35:31 -07:00
Ginit.c Fix the page boundary crossing bug. 2010-06-08 14:44:07 -07:00
Ginit_local.c During the stack unwinding process, the return address points to 2010-04-24 19:16:09 -07:00
Ginit_remote.c During the stack unwinding process, the return address points to 2010-04-24 19:16:09 -07:00
Gos-freebsd.c Use correct offset name and value for ucontext offset in struct sigframe 2010-04-14 12:15:05 +03:00
Gos-linux.c Fix compiler warnings on x86 Linux 2010-04-14 18:54:20 -07:00
Gregs.c Move get_scratch_loc() to os-specific file. 2010-04-05 22:22:55 +03:00
Gresume.c Move local_resume to os-specific file. 2010-04-05 23:00:27 +03:00
Gstep.c Add slightly more debug output 2010-04-11 14:59:36 +03:00
init.h Fast back-trace for x86_64 for only collecting the call stack. 2011-03-24 22:33:17 -07:00
is_fpreg.c [X86] Cleanup XMM handling for x86 2008-01-07 15:41:20 -07:00
Lcreate_addr_space.c Regenerate. 2004-08-17 15:34:28 +00:00
Lget_proc_info.c Regenerate. 2004-08-17 15:34:28 +00:00
Lget_save_loc.c Regenerate. 2004-08-17 15:34:28 +00:00
Lglobal.c Regenerate. 2004-08-17 15:34:28 +00:00
Linit.c Regenerate. 2004-08-17 15:34:28 +00:00
Linit_local.c Regenerate. 2004-08-17 15:34:28 +00:00
Linit_remote.c Regenerate. 2004-08-17 15:34:28 +00:00
longjmp.S FreeBSD also supports PT_GNU_STACK. 2012-02-05 11:42:02 +02:00
Los-freebsd.c Merge remote branch 'origin/master' into freebsd 2010-04-05 16:14:50 +03:00
Los-linux.c Refactor os specific code for x86 (both 32 and 64 bit). 2010-04-04 16:46:13 -07:00
Lregs.c Regenerate. 2004-08-17 15:34:28 +00:00
Lresume.c Regenerate. 2004-08-17 15:34:28 +00:00
Lstep.c Regenerate. 2004-08-17 15:34:28 +00:00
offsets.h Use correct offset name and value for ucontext offset in struct sigframe 2010-04-14 12:15:05 +03:00
regname.c [X86] Cleanup XMM handling for x86 2008-01-07 15:41:20 -07:00
siglongjmp.S Provide the FreeBSD implementation for _UI_siglongjmp_cont on x86. 2012-02-05 11:47:47 +02:00
unwind_i.h Move uc_addr to os-specific file 2010-04-05 22:42:23 +03:00