summaryrefslogtreecommitdiff
path: root/libutils/String8_fuzz.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "Remove unused String8::setPathName.""Greg Kaiser2021-07-191-4/+0
| | | | | | | | | This reverts commit 70d9fb63e60392d1e3f59cc2967f3247a0645e6c. Reason for revert: Outstanding usage of this method removed internally Change-Id: Idcc00ec261aa1d97f11e47abdb08b10a37b5d20f Test: Local build; treehugger (which I'll manually confirm runs on the appropriate targets)
* Revert "Remove unused String8::setPathName."Greg Kaiser2021-07-151-0/+4
| | | | | | | | This reverts commit c214426e0ce5f38aed925d24b1f3ec43aab2fd55. Reason for revert: This is not unused; broke build internally Change-Id: I18e8b7954256ae015ad32743fa6a75850b00913e
* Remove unused String8::setPathName.Elliott Hughes2021-07-131-4/+0
| | | | | Test: treehugger Change-Id: Idc8d7e748b0df4ce8a26227dc73a5eef2b04244f
* Remove String8::toUpper().Elliott Hughes2021-04-121-3/+0
| | | | | | | | Actually, it looks like it's only toLower() that's used, so let's remove toUpper() separately, since it's so easy. Test: treehugger Change-Id: I8fae9fa513b2a34d5bd6b3f64e9305a1ee3c1ec4
* Fixes to String8 fuzzerDylan Katz2020-09-251-57/+157
| | | | | | | | | | | | | Adds support for format fuzzing, fixes several bugs. Fix: 163680603 Fix: 162926178 Fix: 157469647 Test: libutils_fuzz_string8 clusterfuzz-testcase-minimized-libutils_fuzz_string8-6188353572306944 Test: libutils_fuzz_string8 clusterfuzz-testcase-minimized-libutils_fuzz_string8-6413754773012480 Test: libutils_fuzz_string8 clusterfuzz-testcase-minimized-libutils_fuzz_string8-5691524777246720 Signed-off-by: Dylan Katz <dylan.katz@leviathansecurity.com> Change-Id: I7107c3637a4befccab345e17171a1119f8677557
* Add fuzzers for libutils classesDylan Katz2020-05-151-0/+136
Adds fuzzers for BitSet, FileMap, String8, String16, and Vector. Test: Ran fuzzers on Android Pixel 3a. Aggregate coverage was 1.2% (this is far lower than true coverage due to shared libraries being counted) Change-Id: I739216fe88afa51dc2f73b857da91116853382f0 Removed unneeded cflags, moved libbase to defaults Test: Built Android.bp successfully Signed-off-by: Dylan Katz <dylan.katz@leviathansecurity.com> Change-Id: I739216fe88afa51dc2f73b857da91116853382f0