Open Bug 1057104 Opened 6 years ago Updated 6 years ago

Add __sanitizer_annotate_contiguous_container annotations to JS containers

Categories

(Core :: JavaScript Engine, defect)

defect
Not set

Tracking

()

People

(Reporter: Waldo, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: sec-want)

There's a new sanitizer annotation for use in marking the reserved-but-invalid region of a container's underlying contiguous memory as invalid.  (There are flourishes that make this more performant than flat-out invalidating that memory on every push/pop; I don't know the details.)  We should put this to use in Vector and whatever other classes like it exist.  Not sure offhand about ASAN version requirements, exactly, but we can feature-detect it as needed.
You need to log in before you can comment on or make changes to this bug.