v8/test/unittests/heap
Jakob Kummerow fc329ce22a [ubsan] Fix various cases of undefined behavior
Mostly signed integer overflows, and a few cases of double
division by zero (which is defined by IEEE-754 to return
Infinity (or NaN for 0/0) but is UB in C++).
In base/ieee754.cc, use constants for NaN and Infinity instead
of computing these values.
In spaces-unittest.cc, ensure that a large enough allocation
is used.

Bug: v8:3770
Change-Id: I50d9a77dc860ef9993b7b269a5f8c117b0f62f9d
Reviewed-on: https://chromium-review.googlesource.com/c/1403454
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Adam Klein <adamk@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58701}
2019-01-10 13:52:04 +00:00
..
barrier-unittest.cc [heap] Add timeout to Scavenger barrier 2018-10-30 14:28:49 +00:00
bitmap-unittest.cc [cleanup] Mark heap/ methods in subclasses with override. 2018-09-17 15:32:31 +00:00
embedder-tracing-unittest.cc [heap] Reland improvements for embedder tracing 2018-11-26 17:44:10 +00:00
gc-idle-time-handler-unittest.cc [cleanup] Mark heap/ methods in subclasses with override. 2018-09-17 15:32:31 +00:00
gc-tracer-unittest.cc [heap] Add GC sum counters 2018-10-17 19:42:30 +00:00
heap-controller-unittest.cc [heap] Refactor HeapController 2018-09-10 19:47:15 +00:00
heap-unittest.cc [heap] Introduce a large object space for code objects. 2018-11-22 08:23:09 +00:00
item-parallel-job-unittest.cc [cleanup] Mark heap/ methods in subclasses with override. 2018-09-17 15:32:31 +00:00
marking-unittest.cc [cleanup][heap] Fix kPointerSize usages in src/heap/ 2018-12-19 19:58:20 +00:00
memory-reducer-unittest.cc
object-stats-unittest.cc [object-stats] Add unittest for clashing instance types 2018-01-23 11:38:15 +00:00
scavenge-job-unittest.cc [heap] allocation step should before limit update 2018-01-23 19:32:05 +00:00
slot-set-unittest.cc [cleanup][heap] Fix kPointerSize usages in src/heap/ 2018-12-19 19:58:20 +00:00
spaces-unittest.cc [ubsan] Fix various cases of undefined behavior 2019-01-10 13:52:04 +00:00
unmapper-unittest.cc [heap] Reimplement unmapper tests using tracking page allocator 2018-11-07 09:47:17 +00:00
worklist-unittest.cc [heap] Rename IsGlobalEmpty to IsEmpty 2018-07-03 07:15:34 +00:00