commit | cec4a700d14997fcf2295ad31cdf8680d373a749 | [log] [tgz] |
---|---|---|
author | Vishwath Mohan <vishwath@google.com> | Thu Aug 10 12:30:12 2017 -0700 |
committer | Vishwath Mohan <vishwath@google.com> | Thu Aug 10 12:30:12 2017 -0700 |
tree | d770b450358a2505084a1974c15e9c3f350581c9 | |
parent | 7296af19687b1c90dfd238398cd2c8ccb6bcd232 [diff] |
Disable container overflow detection for hidl-gen. Container overflow detection is prone to false positives when both sanitized and unsanitized parts of a module are linked together. This CL disables container overflow detection to prevent running into these errors. Bug: 64564544 Test: hidl-gen does not hit a container overflow error at runtime. Change-Id: If6c8e9d0c34ac7d105dcdb3e191b6ed726142754
croot make hidl-gen
hidl-gen -o output-path -L language (-r interface-root) fqname output-path: directory to store the output files. language: output file for given language. e.g.c++, vts.. fqname: fully qualified name of the input files. For singe file input, follow the format: package@version::fileName For directory input, follow the format: package@version interface-root(optional): prefix and root path for fqname. If not set, use the default prefix: android.hardware and default root path defined in $TOP. examples: croot hidl-gen -o output -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0 hidl-gen -L hash -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0