MCPcopy Create free account
hub / github.com/MultiFuzz/MultiFuzz / to_str

Method to_str

icicle-cortexm/src/config.rs:422–433  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

420 }
421
422 pub fn to_str(&self) -> &'static str {
423 match (self.0 & perm::READ != 0, self.0 & perm::WRITE != 0, self.0 & perm::EXEC != 0) {
424 (true, true, true) => "rwx",
425 (true, true, false) => "rw-",
426 (true, false, true) => "r-x",
427 (true, false, false) => "r--",
428 (false, true, true) => "-wx",
429 (false, true, false) => "-w-",
430 (false, false, true) => "--x",
431 (false, false, false) => "---",
432 }
433 }
434}
435
436impl std::fmt::Debug for Permissions {

Callers 6

get_u64_envFunction · 0.80
generate_and_saveFunction · 0.80
find_elf_in_dirFunction · 0.80
from_elfFunction · 0.80
get_groundtruth_keyFunction · 0.80
detect_from_pathMethod · 0.80

Calls

no outgoing calls

Tested by 1

get_groundtruth_keyFunction · 0.64