Attribute ETEWH result array provenance better
commitdc6c5605a76c073ce836866df42bd9d5b6a36358
authorMax Wang <mwang@fb.com>
Wed, 30 Oct 2019 03:31:45 +0000 (29 20:31 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 30 Oct 2019 03:35:13 +0000 (29 20:35 -0700)
tree0b3224a6b9080a9b360f05f958017ae12cfea6e0
parent59fd236d7d6263e8871fc53c17b39fdec54ad4bc
Attribute ETEWH result array provenance better

Summary:
Chase the ETEWH dependency chain instead of using the current frame for
arrprov tags.

This diff also includes some light refactoring of backtrace code.

Reviewed By: dneiter

Differential Revision: D18125503

fbshipit-source-id: 1908646e95cb6daf19e3404ae60ff589f5acbe3d
hphp/runtime/base/array-provenance.cpp
hphp/runtime/base/array-provenance.h
hphp/runtime/base/backtrace-inl.h
hphp/runtime/base/backtrace.cpp
hphp/runtime/base/backtrace.h
hphp/runtime/ext/asio/ext_external-thread-event-wait-handle.cpp
hphp/runtime/ext/std/ext_std_intrinsics.cpp
hphp/runtime/ext/std/ext_std_intrinsics.php
hphp/test/slow/array_provenance/etewh-unserialize.php [new file with mode: 0644]
hphp/test/slow/array_provenance/etewh-unserialize.php.expectf [new file with mode: 0644]
hphp/test/slow/array_provenance/etewh-unserialize.php.opts [new file with mode: 0644]