MCPcopy Create free account

hub / github.com/Gality369/syzkaller-rust / functions

Functions1,156 in github.com/Gality369/syzkaller-rust

↓ 417 callersMethodlen
(&self)
src/corpus.rs:163
↓ 206 callersFunctionparse_syscall_descs
(input: &str)
src/description.rs:104
↓ 161 callersFunctionencode_scalar_bytes
(size: usize, value: u64)
src/program.rs:1778
↓ 148 callersMethodpush
(&self, dst: &mut [u8], _rest: &[u8])
src/flatrpc_generated.rs:92
↓ 69 callersMethodfinish
(self)
src/flatrpc_generated.rs:1299
↓ 63 callersMethodwrite_val
Write a uint64 value as a signed varint (matching Go's binary.AppendVarint).
src/exec.rs:569
↓ 47 callersFunctionserialize_program
Serialize a program into the executor's binary format. This matches the varint-encoded format from Go's encodingexec.go.
src/exec.rs:44
↓ 43 callersFunctionparse_exec_events
(data: &[u8])
src/exec.rs:4351
↓ 43 callersMethodvalidate
(&self, descs: &[SyscallDesc])
src/program.rs:321
↓ 35 callersFunctioninvalid_arg
( call_idx: usize, desc: &SyscallDesc, arg_idx: usize, detail: impl Into<String>, )
src/program.rs:4692
↓ 31 callersFunctionarg_type_fixed_size
(arg_type: &ArgType)
src/program.rs:498
↓ 27 callersFunctionparse_expr
(text: &str, consts: &HashMap<String, u64>, line_no: usize)
src/description.rs:4408
↓ 27 callersFunctionsave_timeout
Save a timed-out or hanged program for later triage.
src/crash.rs:440
↓ 26 callersFunctionread_repro_queue
(workdir: &std::path::Path)
src/crash.rs:1587
↓ 25 callersFunctionbuild_target_summary
(target_arg: Option<&str>, limit: usize)
src/main.rs:179
↓ 24 callersFunctionbracketed
(text: &'a str, prefix: &str)
src/description.rs:4743
↓ 24 callersMethodexists
(&self)
src/flatrpc_generated.rs:2169
↓ 23 callersFunctiontransitively_enabled_syscalls
(descs: &[SyscallDesc])
src/program.rs:1850
↓ 23 callersFunctionunique_temp_dir
(name: &str)
src/crash.rs:1568
↓ 22 callersFunctionparse_syscall_descs_from_path
(path: impl AsRef<Path>)
src/description.rs:116
↓ 20 callersFunctiontemp_description_dir
(label: &str)
src/description.rs:5009
↓ 19 callersFunctiontransitively_generatable_syscalls
(descs: &[SyscallDesc])
src/program.rs:1854
↓ 18 callersFunctiongenerate
Generate a random program from scratch.
src/fuzzer.rs:259
↓ 18 callersFunctionread_exec_value
(data: &[u8], index: &mut usize)
src/exec.rs:4433
↓ 17 callersFunctionbuildBundle
(osName, arch string, allowed []string)
tools/syzkaller-target-bundle/main.go:139
↓ 17 callersFunctionresource_outputs
(desc: &SyscallDesc)
src/program.rs:1812
↓ 16 callersFunctioncurrent_unix_secs
()
src/crash.rs:704
↓ 15 callersFunctionget_syscall_descs
Get the builtin syscall descriptors.
src/program.rs:360
↓ 15 callersFunctionsplit_top_level
(text: &str, delim: char)
src/description.rs:4956
↓ 14 callersFunctiondecode_scalar_bytes
(data: &[u8])
src/program.rs:1791
↓ 14 callersFunctiongenerate_args
Generate arguments for a syscall.
src/fuzzer.rs:472
↓ 13 callersFunctioncollect_block_lines
( lines: &[&str], index: &mut usize, line_no: usize, terminator: &str, )
src/description.rs:818
↓ 13 callersFunctioncompute_struct_field_offset
( fields: &[ArgType], field_idx: usize, varlen: bool, packed: bool, overlay_start: Option<
src/program.rs:1578
↓ 13 callersMethodelapsed
(&self)
src/flatrpc_generated.rs:3887
↓ 12 callersFunctionclaim_repro_queue_entry_at
( workdir: &std::path::Path, worker_id: &str, lease_secs: u64, now: u64, )
src/crash.rs:1434
↓ 12 callersFunctionmeta_const
Encode const metadata: size | (format << 8) | (bf_offset << 16) | (bf_len << 24) | (pid_stride << 32)
src/exec.rs:549
↓ 12 callersMethodmsg_type
(&self)
src/flatrpc_generated.rs:2587
↓ 12 callersFunctionprint_json
(value: &T)
src/main.rs:143
↓ 12 callersFunctionregister_available_resource
( available_resources: &mut std::collections::HashMap<String, Vec<ResultRef>>, resource: &ResourceDesc
src/program.rs:2315
↓ 12 callersFunctionsplit_type_parts
(text: &str)
src/description.rs:4913
↓ 10 callersMethodget_serial_output
Get recent serial output for crash detection.
src/qemu.rs:154
↓ 10 callersFunctionparse_integer
(text: &str, line_no: usize)
src/description.rs:4424
↓ 10 callersFunctionparse_trace_enabled
()
src/description.rs:1408
↓ 10 callersFunctionstruct_type_alignment
( fields: &[ArgType], packed: bool, align: Option<usize>, )
src/program.rs:564
↓ 10 callersFunctionsync_artifact_catalog
(workdir: &str)
src/crash.rs:918
↓ 10 callersFunctionvalidate_exact_inline_size
(actual: usize, expected: usize, label: &str)
src/program.rs:4375
↓ 9 callersFunctionbuild_smoke_config
( mut cfg: config::Config, max_execs_override: Option<u64>, target_override: Option<&str>, )
src/main.rs:336
↓ 9 callersFunctioncompute_struct_field_ranges
( fields: &[ArgType], varlen: bool, packed: bool, align: Option<usize>, overlay_start: Opt
src/program.rs:1437
↓ 9 callersFunctionemit_copyin_bytes
(w: &mut ExecWriter, addr: u64, data: &[u8])
src/exec.rs:419
↓ 9 callersFunctionencode_scalar_bytes_endian
(size: usize, value: u64, endian: ScalarEndian)
src/program.rs:1782
↓ 9 callersMethodid
(&self)
src/flatrpc_generated.rs:1367
↓ 9 callersFunctionparse_scalar_type_spec
(text: &str)
src/description.rs:4528
↓ 9 callersFunctionsave_crash
Save crash information to disk.
src/crash.rs:350
↓ 9 callersFunctionscale_length_value
(value: usize, scale: usize)
src/program.rs:472
↓ 9 callersFunctionstrip_comment
(line: &str)
src/description.rs:1421
↓ 9 callersFunctiontest_config
()
src/main.rs:863
↓ 9 callersFunctionvalidate_inline_value
( arg_type: &ArgType, data: &[u8], pointers: Option<&[InlinePointerValue]>, struct_layouts: Op
src/program.rs:3854
↓ 8 callersFunctioneffective_field_dir
(current_dir: PtrDir, explicit_dir: Option<PtrDir>)
src/program.rs:2429
↓ 8 callersFunctioneffective_field_fixed_size
( field: &ArgType, bitfield_info: Option<BitfieldFieldInfo>, )
src/program.rs:1409
↓ 8 callersMethoderror
(&self)
src/flatrpc_generated.rs:1880
↓ 8 callersFunctionrelative_artifact_path
(workdir: &std::path::Path, path: &std::path::Path)
src/crash.rs:866
↓ 8 callersFunctionsyscall_idx
(descs: &[SyscallDesc], name: &str)
src/program.rs:4743
↓ 8 callersFunctionunion_type_alignment
( fields: &[ArgType], packed: bool, align: Option<usize>, )
src/program.rs:584
↓ 7 callersFunctionalign_up
(value: usize, align: usize)
src/program.rs:553
↓ 7 callersFunctioncompute_bitfield_field_info
( fields: &[ArgType], )
src/program.rs:1354
↓ 7 callersFunctiondetect_crash
Check if the given output contains a kernel crash. Returns Some(crash_title) if a crash is detected, None otherwise.
src/crash.rs:318
↓ 7 callersFunctionemit_composite_copyin
( w: &mut ExecWriter, addr: u64, data: &[u8], pointers: &[InlinePointerValue], next_data_p
src/exec.rs:484
↓ 7 callersMethodfrom_little_endian
(self)
src/flatrpc_generated.rs:107
↓ 7 callersFunctionload_artifact_repro_queue
(workdir: &std::path::Path)
src/crash.rs:1296
↓ 7 callersMethodmsg
(&self)
src/flatrpc_generated.rs:2593
↓ 7 callersFunctionparse_arg
( text: &str, consts: &HashMap<String, u64>, const_sets: &HashMap<String, ValueSet>, flag_sets
src/description.rs:3376
↓ 7 callersFunctionsave_timeout_with_log
( workdir: &str, reason: &str, program_desc: &str, shape_desc: &str, profile_desc: &str,
src/crash.rs:459
↓ 7 callersFunctionsort_artifact_repro_queue_entries
(entries: &mut [ArtifactReproQueueEntry], now: u64)
src/crash.rs:1156
↓ 7 callersFunctionstruct_layout_prefix_size
( fields: &[ArgType], packed: bool, align: Option<usize>, overlay_start: Option<usize>, )
src/program.rs:4324
↓ 7 callersMethodto_little_endian
(self)
src/flatrpc_generated.rs:101
↓ 7 callersFunctionvalidate_program
(prog: &Program, descs: &[SyscallDesc])
src/program.rs:2368
↓ 6 callersFunctionartifact_optional_relative_path
( workdir: &std::path::Path, artifact_dir: &std::path::Path, filename: &str, )
src/crash.rs:873
↓ 6 callersFunctionbuild_artifact_repro_info
( cfg: &Config, vm_index: usize, total_execs: u64, artifact_type: &str, summary: &str,
src/manager.rs:1403
↓ 6 callersMethodchoose_subset
( &self, candidates: &[usize], previous_syscall_idx: Option<usize>, rng: &mut
src/program.rs:2166
↓ 6 callersFunctionchoose_syscall_for_generation
( descs: &[SyscallDesc], choice_table: &SyscallChoiceTable, previous_syscall_idx: Option<usize>,
src/fuzzer.rs:333
↓ 6 callersFunctionclassify_observation
( entry: &ArtifactReproQueueEntry, request_timed_out: bool, hanged: bool, crash_title: Option<
src/repro.rs:1384
↓ 6 callersMethoddefault_value
(&self)
src/program.rs:188
↓ 6 callersFunctionexpr_references_unavailable_const
(text: &str, consts: &HashMap<String, u64>)
src/description.rs:4401
↓ 6 callersFunctionfind_field_index
(field_names: &[String], name: &str)
src/program.rs:1293
↓ 6 callersFunctiongenerate_inline_arg_value
( arg_type: &ArgType, desc: &SyscallDesc, generated_args: &[ArgValue], rng: &mut impl Rng, )
src/fuzzer.rs:797
↓ 6 callersFunctioninput_resources
(desc: &SyscallDesc)
src/program.rs:1828
↓ 6 callersFunctionis_identifier_like
(text: &str)
src/description.rs:1456
↓ 6 callersFunctionis_unresolved_type_reference_error
(err: &str)
src/description.rs:1482
↓ 6 callersFunctionload_target
(source: TargetSource)
src/target.rs:86
↓ 6 callersFunctionlookup_inline_struct_layout
( struct_layouts: Option<&'a [InlineStructLayout]>, base_offset: usize, field_count: usize, )
src/program.rs:1271
↓ 6 callersFunctionnormalize_summary
(summary: &str)
src/crash.rs:616
↓ 6 callersFunctionparse_string_literal
(text: &str, line_no: usize)
src/description.rs:4498
↓ 6 callersFunctionparse_usize_arg
(value: &str, name: &str)
src/main.rs:137
↓ 6 callersFunctionread_artifact_catalog
(workdir: &std::path::Path)
src/crash.rs:1581
↓ 6 callersFunctionrebuild_choice_table
( descs: &[program::SyscallDesc], corpus: &Corpus, timeout_edge_failures: &HashMap<String, u32>,
src/manager.rs:1645
↓ 6 callersFunctionsend_raw
Send a size-prefixed flatbuffers message over a TCP stream.
src/protocol.rs:15
↓ 6 callersFunctionsyscall_idx
(descs: &[SyscallDesc], name: &str)
src/exec.rs:596
↓ 6 callersFunctionsyscall_is_timeout_prone
(desc: &SyscallDesc)
src/program.rs:426
↓ 6 callersFunctionwrite_artifact_repro_queue_at
( workdir: &std::path::Path, mut queue: ArtifactReproQueue, now: u64, )
src/crash.rs:1283
↓ 5 callersMethodaccepts
(&self, actual: &ResourceDesc)
src/program.rs:192
next →1–100 of 1,156, ranked by callers