qemu-e2k/bsd-user
Stefan Weil c7c530cd3e elf: Improve symbol lookup (optimize, fix for bsd-user)
Coverity complained about local variable key which was only partially
initiated. Only key.st_value was set. As this was also the only part
of key which was used in function symfind, the code could be optimized
by directly passing a pointer to orig_addr.

In bsd-user/elfload.c, fix ec822001a2
was missing. This was a simple replacement of > by >= in symfind, so
I fixed it here without creating an additional patch.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
2012-01-10 18:40:09 +01:00
..
freebsd
i386
netbsd
openbsd
sparc
sparc64
x86_64 Fix spelling in comments, documentation and messages 2011-12-14 11:09:44 +00:00
bsd-mman.h
bsdload.c bsd_user: Fix potential null pointer dereference 2011-12-10 17:02:05 +00:00
elfload.c elf: Improve symbol lookup (optimize, fix for bsd-user) 2012-01-10 18:40:09 +01:00
errno_defs.h
main.c
mmap.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qemu-types.h
qemu.h
signal.c
strace.c
syscall_defs.h
syscall.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
uaccess.c