Searched refs:fuzz_ctx (Results 1 – 2 of 2) sorted by relevance
146 struct fuzz_ops_ctx* fuzz_ctx = static_cast<struct fuzz_ops_ctx*>(ctx); in cb_components() local150 if (fuzz_chance(fuzz_ctx, 4)) in cb_components()161 struct fuzz_ops_ctx* fuzz_ctx = static_cast<struct fuzz_ops_ctx*>(ctx); in cb_imageset_versions() local169 if (fuzz_chance(fuzz_ctx, 4)) in cb_imageset_versions()181 struct fuzz_ops_ctx* fuzz_ctx = static_cast<struct fuzz_ops_ctx*>(ctx); in cb_update_component() local183 if (fuzz_chance(fuzz_ctx, 4)) in cb_update_component()190 assert(!fuzz_ctx->current_update); in cb_update_component()192 fuzz_ctx->current_update = true; in cb_update_component()193 fuzz_ctx->transferred = false; in cb_update_component()194 fuzz_ctx->verified = false; in cb_update_component()[all …]
44 struct fuzz_ctx { struct91 static bool fuzz_chance(struct fuzz_ctx *ctx, uint8_t percent) in fuzz_chance()106 struct fuzz_ctx *ctx = c; in fuzz_i2c_tx()120 struct fuzz_ctx *ctx = c; in fuzz_i2c_rxmsg()129 static void do_rx(struct fuzz_ctx *ctx) in do_rx()151 static void do_tx(struct fuzz_ctx *ctx) in do_tx()199 struct fuzz_ctx *ctx = c; in fuzz_now()223 struct fuzz_ctx _ctx = { in LLVMFuzzerTestOneInput()230 struct fuzz_ctx *ctx = &_ctx; in LLVMFuzzerTestOneInput()