commit | b687ad3c3491fffe22507cafc9347e10cbf6bd31 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Wed Nov 06 17:32:11 2013 -0800 |
committer | Christopher Ferris <cferris@google.com> | Fri Nov 15 10:36:21 2013 -0800 |
tree | d854ac3533adc7268002f2ad299f4a6a9140b464 | |
parent | 05ec00bf62ac168c9787a3d0640879ab3e502fe5 [diff] |
Add new tests for memory/string routines. Create a few generic testing functions to allow any memory/string tests to be created. Add alignment tests for memcpy/memset/strcat/strcpy/strlen. Add an overread test for memcpy/strcat/strcpy/strlen. This test attempts to verify that the functions do not read past the end of their buffers (src buffer in the case of src/dst functions). Bug: 9797008 Change-Id: Ib3223ca1b99e729ae8229adc2d03f4dc3103d97c