commit | a4a2a9665886108ea64c5fcb1e27658bcb69e5ec | [log] [tgz] |
---|---|---|
author | Duy Truong <duytruong@google.com> | Mon Feb 27 15:47:58 2023 -0800 |
committer | Duy Truong <duytruong@google.com> | Tue Feb 28 10:28:01 2023 -0800 |
tree | 9f602e5eaa1510cef23389b4425d09b57470695f | |
parent | 646e84e8673a11ae47694e04672cf9875fc24839 [diff] |
Add Bitness enum to NativePoc. This allows shorter, more readable code when poc bitness is set at runtime. This is generally called as: NativePoc.builder() .pocName(....) .bitness(is64bit ? ONLY64 : ONLY32) .build() .run(this); Bug: 267681397 Test: run test for CVE_2022_20416 modified with this API. Change-Id: If081e2202dbcaf2a43926f96575d8dfd84e9903f