Loading system/gd/Android.bp +3 −3 Original line number Diff line number Diff line Loading @@ -311,7 +311,7 @@ cc_defaults { name: "gd_fuzz_defaults", defaults: ["gd_defaults"], srcs: [ ":BluetoothFuzzingHelperSources", ":BluetoothFuzzHelperSources", ], static_libs: [ "libbluetooth_gd_fuzzing", Loading Loading @@ -354,8 +354,8 @@ cc_fuzz { name: "bluetooth_gd_hci_fuzz_test", defaults: ["gd_fuzz_defaults"], srcs: [ "hci/fuzzing/hci_layer_fuzz_test.cc", ":BluetoothHalFuzzingSources", "hci/fuzz/hci_layer_fuzz_test.cc", ":BluetoothHalFuzzSources", ], } Loading system/gd/fuzzing/Android.bp→system/gd/fuzz/Android.bp +1 −1 Original line number Diff line number Diff line filegroup { name: "BluetoothFuzzingHelperSources", name: "BluetoothFuzzHelperSources", srcs: [ "helpers.cc", ], Loading system/gd/fuzzing/helpers.cc→system/gd/fuzz/helpers.cc +3 −3 Original line number Diff line number Diff line Loading @@ -14,11 +14,11 @@ * limitations under the License. */ #include "fuzzing/helpers.h" #include "fuzz/helpers.h" #include "common/bind.h" namespace bluetooth { namespace fuzzing { namespace fuzz { // cribbed from https://github.com/google/fuzzing/blob/master/docs/split-inputs.md#magic-separator std::vector<std::vector<uint8_t>> SplitInput(const uint8_t* data, size_t size, const uint8_t* separator, Loading Loading @@ -48,5 +48,5 @@ void SentinelWorkItem::WaitUntilFinishedOn(os::Handler* handler) { quiesce_promise_ = nullptr; } } // namespace fuzzing } // namespace fuzz } // namespace bluetooth system/gd/fuzzing/helpers.h→system/gd/fuzz/helpers.h +2 −2 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ #include "os/handler.h" namespace bluetooth { namespace fuzzing { namespace fuzz { std::vector<std::vector<uint8_t>> SplitInput(const uint8_t* data, size_t size, const uint8_t* separator, size_t separatorSize); Loading @@ -34,5 +34,5 @@ class SentinelWorkItem { void notify_handler_quiesced(); std::unique_ptr<std::promise<void>> quiesce_promise_; }; } } // namespace fuzz } // namespace bluetooth system/gd/fuzzing/run→system/gd/fuzz/run +0 −0 File moved. View file Loading
system/gd/Android.bp +3 −3 Original line number Diff line number Diff line Loading @@ -311,7 +311,7 @@ cc_defaults { name: "gd_fuzz_defaults", defaults: ["gd_defaults"], srcs: [ ":BluetoothFuzzingHelperSources", ":BluetoothFuzzHelperSources", ], static_libs: [ "libbluetooth_gd_fuzzing", Loading Loading @@ -354,8 +354,8 @@ cc_fuzz { name: "bluetooth_gd_hci_fuzz_test", defaults: ["gd_fuzz_defaults"], srcs: [ "hci/fuzzing/hci_layer_fuzz_test.cc", ":BluetoothHalFuzzingSources", "hci/fuzz/hci_layer_fuzz_test.cc", ":BluetoothHalFuzzSources", ], } Loading
system/gd/fuzzing/Android.bp→system/gd/fuzz/Android.bp +1 −1 Original line number Diff line number Diff line filegroup { name: "BluetoothFuzzingHelperSources", name: "BluetoothFuzzHelperSources", srcs: [ "helpers.cc", ], Loading
system/gd/fuzzing/helpers.cc→system/gd/fuzz/helpers.cc +3 −3 Original line number Diff line number Diff line Loading @@ -14,11 +14,11 @@ * limitations under the License. */ #include "fuzzing/helpers.h" #include "fuzz/helpers.h" #include "common/bind.h" namespace bluetooth { namespace fuzzing { namespace fuzz { // cribbed from https://github.com/google/fuzzing/blob/master/docs/split-inputs.md#magic-separator std::vector<std::vector<uint8_t>> SplitInput(const uint8_t* data, size_t size, const uint8_t* separator, Loading Loading @@ -48,5 +48,5 @@ void SentinelWorkItem::WaitUntilFinishedOn(os::Handler* handler) { quiesce_promise_ = nullptr; } } // namespace fuzzing } // namespace fuzz } // namespace bluetooth
system/gd/fuzzing/helpers.h→system/gd/fuzz/helpers.h +2 −2 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ #include "os/handler.h" namespace bluetooth { namespace fuzzing { namespace fuzz { std::vector<std::vector<uint8_t>> SplitInput(const uint8_t* data, size_t size, const uint8_t* separator, size_t separatorSize); Loading @@ -34,5 +34,5 @@ class SentinelWorkItem { void notify_handler_quiesced(); std::unique_ptr<std::promise<void>> quiesce_promise_; }; } } // namespace fuzz } // namespace bluetooth