Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 10e1d496 authored by Zach Johnson's avatar Zach Johnson
Browse files

Drop the ing, it's simpler. (fuzzing -> fuzz)

Test: fuzz/run --host bluetooth_gd_hci_fuzz_test
Change-Id: I2f5476be161eac828b846fff47b6066123f3f91b
parent 924ed6ca
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -311,7 +311,7 @@ cc_defaults {
    name: "gd_fuzz_defaults",
    defaults: ["gd_defaults"],
    srcs: [
        ":BluetoothFuzzingHelperSources",
        ":BluetoothFuzzHelperSources",
    ],
    static_libs: [
        "libbluetooth_gd_fuzzing",
@@ -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",
    ],
}

+1 −1
Original line number Diff line number Diff line
filegroup {
    name: "BluetoothFuzzingHelperSources",
    name: "BluetoothFuzzHelperSources",
    srcs: [
        "helpers.cc",
    ],
+3 −3
Original line number Diff line number Diff line
@@ -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,
@@ -48,5 +48,5 @@ void SentinelWorkItem::WaitUntilFinishedOn(os::Handler* handler) {
  quiesce_promise_ = nullptr;
}

}  // namespace fuzzing
}  // namespace fuzz
}  // namespace bluetooth
+2 −2
Original line number Diff line number Diff line
@@ -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);
@@ -34,5 +34,5 @@ class SentinelWorkItem {
  void notify_handler_quiesced();
  std::unique_ptr<std::promise<void>> quiesce_promise_;
};
}
}  // namespace fuzz
}  // namespace bluetooth
+0 −0

File moved.

Loading