Benign crates 3,949,785 installs Download

usdt 0.3.2

“Cross-platform Userland Statically Defined Tracing probes”

References Cargo OUT_DIR environment valueReads a file into a Rust string
SHA-2565409e16f35fdba646ff4290e6f96f0bb958b43e0bd09d790c3714456a76c11ac
MaleculeH₂(F₂Os)

Evidence

Reads a file into a Rust string lines 421–438
421:4… pub fn build(self) -> Result<(), Error> {
422 let source = fs::read_to_string(self.source_file)?;
423 let tokens = usdt_impl::compile_provider_source(&source, &self.config)?;
424 let mut out_file = Path::new(&env::var("OUT_DIR")?).to_path_buf();
425 out_file.push(
426 &self
427 .out_file
428 .file_name()
429 .expect("Could not extract filename"),
430 );
431 fs::write(out_file, tokens.to_string().as_bytes())?;
432 Ok(())
433 }
⋯5 lines

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.