llvm/lib/Object
Dylan Noblesmith 069df954a1 Object: avoid undefined behavior when bounds-checking
Don't form an out of bounds pointer just to test if it
would be out of bounds.

Also perform the same bounds checking for all the previous
mapped structures.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149750 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-04 02:41:39 +00:00
..
Archive.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:50:00 +00:00
Binary.cpp Object: Add support for opening stdin. 2011-10-08 00:17:58 +00:00
CMakeLists.txt build/CMake: Finish removal of add_llvm_library_dependencies. 2011-11-29 19:25:30 +00:00
COFFObjectFile.cpp Fixed ObjectFile functions: 2011-11-29 17:40:10 +00:00
ELFObjectFile.cpp Object: avoid undefined behavior when bounds-checking 2012-02-04 02:41:39 +00:00
Error.cpp Object: Add proper error handling. 2011-06-25 17:55:23 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
MachOObject.cpp Remove trailing spaces 2012-01-22 09:02:48 +00:00
MachOObjectFile.cpp Fixed ObjectFile functions: 2011-11-29 17:40:10 +00:00
Makefile
Object.cpp Fixed ObjectFile functions: 2011-11-29 17:40:10 +00:00
ObjectFile.cpp Remove unused variables. 2011-12-25 01:20:19 +00:00