summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2018-03-01 01:27:46 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2018-03-01 01:27:46 +0000
commit4579bad86c68e664282618339cd2ea1ae17686ad (patch)
treee9996eadec9ee4f874cb5c0d5fff5da3b8893135 /lldb/packages/Python/lldbsuite/test/expression_command
parent3762a089d7411665bbc619466d20f5d25e40b02c (diff)
downloadbcm5719-llvm-4579bad86c68e664282618339cd2ea1ae17686ad.tar.gz
bcm5719-llvm-4579bad86c68e664282618339cd2ea1ae17686ad.zip
[analyzer] Add a checker for mmap()s which are both writable and executable.
This is a security check that warns when both PROT_WRITE and PROT_EXEC are set during mmap(). If mmap()ed memory is both writable and executable, it makes it easier for the attacker to execute arbitrary code when contents of this memory are compromised. Some applications require such mmap()s though, such as different sorts of JIT. Re-applied after a revert in r324167. Temporarily stays in the alpha package because it needs a better way of determining macro values that are not immediately available in the AST. Patch by David Carlier! Differential Revision: https://reviews.llvm.org/D42645 llvm-svn: 326405
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud