[PATCH] D28502: [compiler-rt] [Interception] Properly check for export table's size before referring to its elements.
Marcos Pividori via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 11 08:58:31 PST 2017
mpividori set the repository for this revision to rL LLVM.
mpividori updated this revision to Diff 83987.
mpividori added a comment.
Herald added a subscriber: mgorny.
@rnk Thanks for that information. Finally, I think I understood how tests works.
In this updated diff I add a regression test for Windows. It fails if we don't check the size of the export table.
Repository:
rL LLVM
https://reviews.llvm.org/D28502
Files:
lib/interception/interception_win.cc
test/interception/CMakeLists.txt
test/interception/TestCases/Windows/empty_export_table.cc
test/interception/TestCases/Windows/lit.local.cfg
test/interception/lit.cfg
test/interception/lit.site.cfg.in
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28502.83987.patch
Type: text/x-patch
Size: 5064 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170111/7c40a2cc/attachment.bin>
More information about the llvm-commits
mailing list