tag | 1d72edbb7d44b99a1a73b02793f257081951d75e | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Aug 06 12:29:16 2020 -0700 |
object | 7ceb125e7cb3a70a20dcdbdfae763a5a768b352b |
Android R Beta 3
commit | 7ceb125e7cb3a70a20dcdbdfae763a5a768b352b | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Thu Jan 23 16:33:49 2020 -0800 |
committer | Steven Moreland <smoreland@google.com> | Fri Jul 10 22:26:29 2020 +0000 |
tree | 613f50b41296767307acbef0be9023ca6e8e85fb | |
parent | 5376b50a13e8f5ffdb03494ca5ee7e3d33e824e0 [diff] |
aidl: sanitize for integer overflows Hidden overflows are extra painful in AIDL interfaces because they may be stabilized. In order to make sure values in interfaces are exactly as expected, we are turning on hard failures here. This should make the fuzzer more effective (discovering these edge cases). In the mean time, this will prevent intefaces which have undefined overflows in constant expressions from getting created. Future considerations: - remove duplication of tests between constant expressions as constant variables and in lists, where they are easier to test. - better compiler errors for overflows (once the fuzzer catches them) Bug: 148149098 Test: TEST_MAPPING Change-Id: I4f936b96dc6eb7714ae622a444ebcc64da17a934
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview