Benign Download

uuid-macro-internal 1.2.1

Contains an unbounded block loopRust proc macro entrypoint
SHA-25644cc305b0c375fa2f078537bbe564516cb1946c1defa4041aa0e3f9cd5e07c4a
MaleculeO(S)H(Db)Md

Evidence

English function-word token "the" parser.rs · lines 1–7
1// Copyright 2013-2014 The Rust Project Developers.
2// Copyright 2018 The Uuid Project Developers.
3//
4// See the COPYRIGHT file at the top-level directory of this distribution.
5//
6// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
7// http:/ …
imports crate::error::InvalidUuid parser.rs · lines 9–17
9:59… ibuted
10// except according to those terms.
11
12use crate::error::InvalidUuid;
13
14#[inline]
15pub const fn try_parse(input: &str) -> Result<[u8; 16], InvalidUuid> {
16 let result = match (input.len(), input.as_bytes()) {
17 // Inputs of 32 …
English function-word token "for" parser.rs · lines 19–22
19:35… wrapped in various ways:
20 // - `{UUID}` for braced UUIDs
21 // - `urn:uuid:UUID` for URNs
22 // - `UUID` for a regular hyphenated …
Contains an unbounded block loop parser.rs · lines 119–131
119:21… 8; 256] = &{
120 let mut buf = [0; 256];
121 let mut i: u8 = 0;
122
123 loop {
⋯8 lines
imports proc_macro::TokenStream lib.rs · lines 8–22
8:3… ! features = ["macro-diagnostics"]
9//! ```
10
11use proc_macro::TokenStream;
12use proc_macro2::TokenStream as TokenStream2;
13use quote::{quote, quote_spanned};
14use std::fmt;
15use syn::{spanned::Spanned, LitStr};
16
17mod error;
⋯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.