diff options
author | Kostya Kortchinsky <kostyak@google.com> | 2019-12-02 08:50:10 -0800 |
---|---|---|
committer | Kostya Kortchinsky <kostyak@google.com> | 2019-12-03 08:32:26 -0800 |
commit | 5595249e48ef83bae5f2e61c0190332534902051 (patch) | |
tree | cf016357f5a9e49d992b9b6f1fe9ebe8cc14fdc5 /llvm/utils/FileCheck/FileCheck.cpp | |
parent | a315519c17abaa621eddd30fd116ac2e030a36e9 (diff) | |
download | llvm-5595249e48ef83bae5f2e61c0190332534902051.zip llvm-5595249e48ef83bae5f2e61c0190332534902051.tar.gz llvm-5595249e48ef83bae5f2e61c0190332534902051.tar.bz2 |
[scudo][standalone] Add chunk ownership function
Summary:
In order to be compliant with tcmalloc's extension ownership
determination function, we have to expose a function that will
say if a chunk was allocated by us.
As to whether or not this has security consequences: someone
able to call this function repeatedly could use it to determine
secrets (cookie) or craft a valid header. So this should not be
exposed directly to untrusted user input.
Add related tests.
Additionally clang-format caught a few things to change.
Reviewers: hctim, pcc, cferris, eugenis, vitalybuka
Subscribers: JDevlieghere, jfb, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D70908
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions