jtenner/starshine/cmd does not have a README file
fn BinaryCanonicalityClassification::external_policy_disagreement() -> BinaryCanonicalityClassificationpub struct BinaryDifferentialAdapterResult {
adapter_name : String
outcome : BinaryValidationOutcome
message : String?
} derive(Eq, Debug)fn BinaryDifferentialAdapterResult::adapter_unavailable(adapter_name : String, message : String) -> BinaryDifferentialAdapterResultfn BinaryDifferentialAdapterResult::invalid_decode(adapter_name : String, message : String) -> BinaryDifferentialAdapterResultfn BinaryDifferentialAdapterResult::invalid_validate(adapter_name : String, message : String) -> BinaryDifferentialAdapterResultfn BinaryDifferentialAdapterResult::tool_failure(adapter_name : String, message : String) -> BinaryDifferentialAdapterResultfn BinaryDifferentialAdapterResult::unsupported_feature(adapter_name : String, message : String) -> BinaryDifferentialAdapterResultfn BinaryDifferentialClassification::decoder_stage_disagreement() -> BinaryDifferentialClassificationfn BinaryDifferentialClassification::validator_stage_disagreement() -> BinaryDifferentialClassificationpub struct BinaryDifferentialSmokeAdapter {
adapter_name : String
run : (Bytes) -> BinaryDifferentialAdapterResult
}fn BinaryDifferentialSmokeAdapter::new(adapter_name : String, run : (Bytes) -> BinaryDifferentialAdapterResult) -> BinaryDifferentialSmokeAdapterpub struct BinaryDifferentialSmokeReport {
suite : String
cases : Int
agree_valid : Int
agree_invalid : Int
proposal_gap : Int
decoder_stage_disagreement : Int
validator_stage_disagreement : Int
tool_failure : Int
unsupported_feature : Int
adapter_unavailable : Int
external_adapters : Array[String]
} derive(Eq, Debug)pub enum CmdError {
CliParse(CliParseError)
UnknownPassFlag(String)
InvalidConfig(String)
ConfigNotFound(String)
ConfigReadFailed(String)
InputReadFailed(String)
SpecFailed(String)
TextLoweringFailed(String)
DecodeFailed(String, DecodeError)
OptimizeFailed(String)
EncodeFailed(String, CmdEncodeError)
OutputWriteFailed(String)
AmbiguousOutputFile(String)
NoInputFiles
} derive(Eq, Debug)pub struct CmdFuzzHarnessProfileConfig {
valid_target : Int
generator_profile : String
generator_config : GenValidConfig
pass_profile : String
optimize_passes : Array[String]
check_optimize_idempotence : Bool
check_encode_decode_idempotence : Bool
check_optimizer_determinism : Bool
} derive(Eq, Debug)pub struct CmdFuzzStats {
attempts : Int
generated_valid : Int
generated_invalid : Int
pipeline_validated : Int
optimized : Int
roundtripped : Int
differential_checked : Int
optimize_idempotence_checked : Int
encode_decode_idempotence_checked : Int
optimizer_determinism_checked : Int
generator_profile : String
pass_profile : String
} derive(Eq, Debug)impl Show for CmdFuzzStatsfn CmdFuzzStats::new(attempts? : Int, generated_valid? : Int, generated_invalid? : Int, pipeline_validated? : Int, optimized? : Int, roundtripped? : Int, differential_checked? : Int, optimize_idempotence_checked? : Int, encode_decode_idempotence_checked? : Int, optimizer_determinism_checked? : Int, generator_profile? : String, pass_profile? : String) -> CmdFuzzStatspub struct CmdIO {
get_env : (String) -> String?
file_exists : (String) -> Bool
read_file : (String) -> Result[Bytes, String]
encode_module : (Module) -> Result[Bytes, CmdEncodeError]
print_text_module : (Module) -> Result[Bytes, String]
write_file : (String, Bytes) -> Result[Unit, String]
write_stdout : (Bytes) -> Result[Unit, String]
write_stderr : (Bytes) -> Result[Unit, String]
list_candidates : () -> Array[String]
lower_text_module : (String, CliInputFormat, Bytes) -> Result[Bytes, String]
}fn CmdIO::new(get_env? : (String) -> String?, file_exists? : (String) -> Bool, read_file? : (String) -> Result[Bytes, String], encode_module? : (Module) -> Result[Bytes, CmdEncodeError], print_text_module? : (Module) -> Result[Bytes, String], write_file? : (String, Bytes) -> Result[Unit, String], write_stdout? : (Bytes) -> Result[Unit, String], write_stderr? : (Bytes) -> Result[Unit, String], list_candidates? : () -> Array[String], lower_text_module? : (String, CliInputFormat, Bytes) -> Result[Bytes, String]) -> CmdIOpub struct CmdRunSummary {
input_files : Array[String]
output_files : Array[String]
resolved_passes : Array[String]
optimize_level : Int
shrink_level : Int
traps_never_happen : Bool
ignore_implicit_traps : Bool
monomorphize_min_benefit : Int
closed_world : Bool
low_memory_unused : Bool
low_memory_bound : UInt64
} derive(Eq, Debug)impl Show for CmdRunSummaryfn CmdRunSummary::new(input_files? : Array[String], output_files? : Array[String], resolved_passes? : Array[String], optimize_level? : Int, shrink_level? : Int, traps_never_happen? : Bool, ignore_implicit_traps? : Bool, monomorphize_min_benefit? : Int, closed_world? : Bool, low_memory_unused? : Bool, low_memory_bound? : UInt64) -> CmdRunSummarypub struct DifferentialAdapters {
wasm_tools_validate : (Bytes) -> Result[Bool, String]
binaryen_validate : (Bytes) -> Result[Bool, String]
per_case_timeout_ms : Int?
}fn DifferentialAdapters::new(wasm_tools_validate? : (Bytes) -> Result[Bool, String], binaryen_validate? : (Bytes) -> Result[Bool, String], per_case_timeout_ms? : Int?) -> DifferentialAdaptersfn ExportInvocationClassification::semantic_mismatch(message : String) -> ExportInvocationClassificationpub struct ExportInvocationComparisonReport {
export_name : String
args : Array[String]
left_result : ExportInvocationResult
right_result : ExportInvocationResult
classification : ExportInvocationClassification
} derive(Eq, Debug)pub struct FuzzCorpusDedupIndex {
entries : Array[FuzzCorpusDedupHashEntry]
positions : HashMap[String, Int]
} derive(Debug)fn FuzzCorpusDedupIndex::record(self : FuzzCorpusDedupIndex, wasm : Bytes, source : FuzzCorpusSource) -> FuzzCorpusDedupDecisionfn FuzzCorpusSource::new(seed : UInt64, attempt : Int, generator_profile : String, pass_profile : String, stage : String) -> FuzzCorpusSourcepub struct FuzzFailurePersistIO {
ensure_dir : (String) -> Result[Unit, String]
write_file : (String, Bytes) -> Result[Unit, String]
}fn FuzzFailurePersistIO::new(ensure_dir? : (String) -> Result[Unit, String], write_file? : (String, Bytes) -> Result[Unit, String]) -> FuzzFailurePersistIOpub struct FuzzFailureReport {
seed : UInt64
attempt : Int
generated_valid : Int
stage : String
message : String
optimize_passes : Array[String]
minimized_passes : Array[String]
generator_profile : String
pass_profile : String
generator_config_label : String
generated_attempts : Int
feature_facts : String
wasm : Bytes?
reduced_wasm : Bytes?
reduction_original_size : Int?
reduction_final_size : Int?
reduction_predicate_evaluations : Int?
reduction_steps : Array[FuzzReductionStep]
} derive(Eq, Debug)impl Show for FuzzFailureReportfn FuzzFailureReport::new(seed : UInt64, attempt : Int, generated_valid : Int, stage : String, message : String, optimize_passes? : Array[String], minimized_passes? : Array[String], generator_profile? : String, pass_profile? : String, generator_config_label? : String, generated_attempts? : Int, feature_facts? : String, wasm? : Bytes?, reduced_wasm? : Bytes?, reduction_original_size? : Int?, reduction_final_size? : Int?, reduction_predicate_evaluations? : Int?, reduction_steps? : Array[FuzzReductionStep]) -> FuzzFailureReportpub struct FuzzReductionReport[T] {
result : T
original_size : Int
final_size : Int
predicate_evaluations : Int
steps : Array[FuzzReductionStep]
} derive(Debug)impl Show for InliningOptionsfn InliningOptions::new(always_inline_max_size? : Int, one_caller_inline_max_size? : Int, flexible_inline_max_size? : Int, max_combined_binary_size? : Int, allow_functions_with_loops? : Bool, partial_inlining_ifs? : Int) -> InliningOptionspub struct OptimizeOptions {
optimize_level : Int
shrink_level : Int
inlining : InliningOptions
monomorphize_min_benefit : Int
closed_world : Bool
zero_filled_memory : Bool
fast_math : Bool
low_memory_unused : Bool
low_memory_bound : UInt64
traps_never_happen : Bool
ignore_implicit_traps : Bool
compiler_fact_policy : CompilerFactUsePolicy
validation_policy : OptimizeValidationPolicy
stack_function_passes : Bool
} derive(Eq, Debug)impl Show for OptimizeOptionsfn OptimizeOptions::new(optimize_level? : Int, shrink_level? : Int, inlining? : InliningOptions, monomorphize_min_benefit? : Int, closed_world? : Bool, zero_filled_memory? : Bool, fast_math? : Bool, low_memory_unused? : Bool, low_memory_bound? : UInt64, traps_never_happen? : Bool, ignore_implicit_traps? : Bool, compiler_fact_policy? : CompilerFactUsePolicy, validation_policy? : OptimizeValidationPolicy, stack_function_passes? : Bool) -> OptimizeOptionsimpl Show for OptimizeTracingLevelimpl Show for OptimizeValidationPolicyimpl Show for ReadmeApiVerifyBlockfn TextAggregateAdapterResult::external_accepted(adapter_name : String, validates_ok? : Bool?) -> TextAggregateAdapterResultfn TextAggregateAdapterResult::external_parse_error(adapter_name : String, message : String) -> TextAggregateAdapterResultfn TextAggregateAdapterResult::external_unavailable(adapter_name : String, message : String) -> TextAggregateAdapterResultfn TextAggregateAdapterResult::external_unsupported_syntax(adapter_name : String, message : String) -> TextAggregateAdapterResultfn binary_differential_classification_label(classification : BinaryDifferentialClassification) -> Stringfn binary_differential_failed_validation_result(adapter_name : String, bytes : Bytes, message : String) -> BinaryDifferentialAdapterResultfn classify_binary_canonicality_differential(input_class : BinaryCanonicalityInputClass, internal_valid : Bool, wasm_tools_valid : Bool?, binaryen_valid : Bool?) -> BinaryCanonicalityClassificationfn classify_binary_differential_results(results : Array[BinaryDifferentialAdapterResult]) -> BinaryDifferentialClassificationfn classify_export_invocation_matrix(summary : ExportInvocationMatrixSummary) -> ExportInvocationMatrixOutcomefn classify_export_invocation_results(left : ExportInvocationResult, right : ExportInvocationResult) -> ExportInvocationClassificationfn classify_n_way_text_aggregate(results : Array[TextAggregateAdapterResult]) -> TextAggregateClassificationfn cmd_fuzz_harness_profile_config_with_seed(profile : String, seed : UInt64) -> Result[CmdFuzzHarnessProfileConfig, String]fn compare_export_invocation_results(export_name : String, args : Array[String], left : ExportInvocationResult, right : ExportInvocationResult) -> ExportInvocationComparisonReportfn differential_validate_wasm(bytes : Bytes, adapters? : DifferentialAdapters) -> Result[DifferentialValidationReport, String]fn export_invocation_matrix_should_fail(summary : ExportInvocationMatrixSummary, policy : ExportInvocationFailurePolicy) -> Boolfn export_invocation_semantic_mismatch_reports(reports : Array[ExportInvocationComparisonReport]) -> Array[ExportInvocationComparisonReport]fn persist_fuzz_failure_report(report : FuzzFailureReport, io : FuzzFailurePersistIO, corpus_dir? : String) -> Result[(String, String?), String]fn persist_text_differential_artifacts(original_text : String, local_report : TextParsePrintLowerReport, external_results : Array[TextAggregateAdapterResult], classification : TextAggregateClassification, io : FuzzFailurePersistIO, repro_dir? : String, seed? : UInt64, attempt? : Int) -> Result[TextDifferentialArtifactPaths, String]fn reduce_fuzz_bytes_by_slice_deletion(bytes : Bytes, reproduces : (Bytes) -> Bool) -> FuzzReductionReport[Bytes]fn reduce_fuzz_module_fields_by_deletion(fields : Array[ModuleField], reproduces : (Array[ModuleField]) -> Bool) -> FuzzReductionReport[Array[ModuleField]]fn[T] reduce_fuzz_sequence_by_deletion(values : Array[T], reproduces : (Array[T]) -> Bool) -> FuzzReductionReport[Array[T]]fn reduce_fuzz_text_tokens_by_deletion(text : String, reproduces : (String) -> Bool) -> FuzzReductionReport[String]fn run_binary_differential_smoke(corpus : Array[Bytes], external_adapters? : Array[BinaryDifferentialSmokeAdapter]) -> BinaryDifferentialSmokeReportfn run_cmd_fuzz_harness(valid_target : Int, seed? : UInt64, optimize_passes? : Array[String], generator_profile? : String, generator_config? : GenValidConfig?, pass_profile? : String, check_optimize_idempotence? : Bool, check_encode_decode_idempotence? : Bool, check_optimizer_determinism? : Bool, differential_adapters? : DifferentialAdapters?, differential_every? : Int, on_failure? : (FuzzFailureReport) -> Result[Unit, String]?) -> Result[CmdFuzzStats, String]fn run_cmd_with_adapter(args : Array[String], io : CmdIO, config_json? : String?) -> Result[CmdRunSummary, CmdError]fn run_local_text_parse_print_lower_matrix(source : String, filename? : String) -> TextParsePrintLowerReportfn summarize_binary_canonicality_classifications(classifications : Array[BinaryCanonicalityClassification]) -> BinaryCanonicalitySummaryfn summarize_export_invocation_matrix(reports : Array[ExportInvocationComparisonReport]) -> ExportInvocationMatrixSummaryfn text_aggregate_local_result(report : TextParsePrintLowerReport, validates_ok? : Bool?) -> TextAggregateAdapterResultfn verify_readme_api_signatures(readme_text : String, interface_text_by_path : Array[(String, String)]) -> Result[Unit, String]Install
Download zipWebAssembly parsing, validation, encoding, and optimization toolkit