diff options
author | George Burgess IV <gbiv@google.com> | 2020-02-13 11:44:20 -0800 |
---|---|---|
committer | George Burgess IV <gbiv@google.com> | 2020-02-13 11:44:20 -0800 |
commit | d02e7b131efc0600572b00d796aede9db8675a33 (patch) | |
tree | 01f646dfb0d781b48fc7448868e97d1a24f0d9cd /tests/malloc_test.cpp | |
parent | 97d053283f4c100baed8677f7a7af98a976a2e2f (diff) |
fortify: simplify strlen for LLVM's new optimization
LLVM now knows how to fold __strlen_chk, so we can make this function a
one-liner.
Also fix strlcat to not double-return while I'm in the area.
Bug: 148189733
Test: TreeHugger
Change-Id: I71ee308defbefe96f3fe6e357a2127309d2f0942
Diffstat (limited to 'tests/malloc_test.cpp')
0 files changed, 0 insertions, 0 deletions