repo stringlengths 6 65 | file_url stringlengths 81 311 | file_path stringlengths 6 227 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:31:58 2026-01-04 20:25:31 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
soybeanjs/soybean-admin-rust | https://github.com/soybeanjs/soybean-admin-rust/blob/a560191ee087ba509e2060f17937b9f2c8f9be33/server/router/src/admin/sys_user_route.rs | server/router/src/admin/sys_user_route.rs | use axum::{
http::Method,
routing::{delete, get, post, put},
Router,
};
use server_api::admin::SysUserApi;
use server_global::global::{add_route, RouteInfo};
pub struct SysUserRouter;
impl SysUserRouter {
pub async fn init_user_router() -> Router {
let base_path = "/user";
let service_... | rust | Apache-2.0 | a560191ee087ba509e2060f17937b9f2c8f9be33 | 2026-01-04T20:21:43.261270Z | false |
soybeanjs/soybean-admin-rust | https://github.com/soybeanjs/soybean-admin-rust/blob/a560191ee087ba509e2060f17937b9f2c8f9be33/server/router/src/admin/sys_sandbox_route.rs | server/router/src/admin/sys_sandbox_route.rs | use axum::{routing::get, Router};
use server_api::admin::SysSandboxApi;
pub struct SysSandboxRouter;
impl SysSandboxRouter {
const BASE_PATH: &str = "/sandbox";
pub async fn init_simple_sandbox_router() -> Router {
let router =
Router::new().route("/simple-api-key", get(SysSandboxApi::test... | rust | Apache-2.0 | a560191ee087ba509e2060f17937b9f2c8f9be33 | 2026-01-04T20:21:43.261270Z | false |
soybeanjs/soybean-admin-rust | https://github.com/soybeanjs/soybean-admin-rust/blob/a560191ee087ba509e2060f17937b9f2c8f9be33/server/router/src/admin/sys_menu_route.rs | server/router/src/admin/sys_menu_route.rs | use axum::{
http::Method,
routing::{delete, get, post, put},
Router,
};
use server_api::admin::SysMenuApi;
use server_core::web::operation_log::OperationLogLayer;
use server_global::global::{add_route, RouteInfo};
pub struct SysMenuRouter;
impl SysMenuRouter {
pub async fn init_menu_router() -> Router... | rust | Apache-2.0 | a560191ee087ba509e2060f17937b9f2c8f9be33 | 2026-01-04T20:21:43.261270Z | false |
soybeanjs/soybean-admin-rust | https://github.com/soybeanjs/soybean-admin-rust/blob/a560191ee087ba509e2060f17937b9f2c8f9be33/server/router/src/admin/sys_access_key_route.rs | server/router/src/admin/sys_access_key_route.rs | use axum::{
http::Method,
routing::{delete, get, post},
Router,
};
use server_api::admin::SysAccessKeyApi;
use server_global::global::{add_route, RouteInfo};
pub struct SysAccessKeyRouter;
impl SysAccessKeyRouter {
pub async fn init_access_key_router() -> Router {
let base_path = "/access-key"... | rust | Apache-2.0 | a560191ee087ba509e2060f17937b9f2c8f9be33 | 2026-01-04T20:21:43.261270Z | false |
soybeanjs/soybean-admin-rust | https://github.com/soybeanjs/soybean-admin-rust/blob/a560191ee087ba509e2060f17937b9f2c8f9be33/server/shared/src/lib.rs | server/shared/src/lib.rs | pub fn add(left: usize, right: usize) -> usize {
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
| rust | Apache-2.0 | a560191ee087ba509e2060f17937b9f2c8f9be33 | 2026-01-04T20:21:43.261270Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs-lib/src/prng.rs | chrs-lib/src/prng.rs | use rand::prelude::*;
use rand_chacha::ChaCha20Rng;
use std::cell::RefCell;
thread_local! {
pub static PRNG: RefCell<ChaCha20Rng> = RefCell::new(ChaCha20Rng::seed_from_u64(234239432));
}
pub fn random_u64() -> u64 {
PRNG.with(|rng| rng.borrow_mut().gen())
}
| rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs-lib/src/lib.rs | chrs-lib/src/lib.rs | pub mod ai;
pub mod data;
pub mod generator;
pub mod zobrist;
mod prng;
| rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs-lib/src/ai/transposition.rs | chrs-lib/src/ai/transposition.rs | use std::collections::HashMap;
use crate::data::Move;
#[derive(Debug, Default)]
pub enum SearchFlag {
#[default]
Exact,
Lowerbound,
Upperbound,
}
#[derive(Debug, Default)]
pub struct TTEntry {
pub depth: usize,
pub flag: SearchFlag,
pub best: Option<Move>,
pub value: i32,
}
pub type ... | rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs-lib/src/ai/negamax.rs | chrs-lib/src/ai/negamax.rs | use super::eval::*;
use super::transposition::{SearchFlag, TT};
use super::{AIStat, AI};
use crate::{
data::{BoardConfig, Move},
generator::MoveGenerator,
};
use instant::Instant;
pub struct NegaMaxAI {
pub depth: usize,
pub quiescence_depth: usize,
pub stats: AIStat,
killer_moves: [[Option<Mov... | rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs-lib/src/ai/mod.rs | chrs-lib/src/ai/mod.rs | mod eval;
mod negamax;
mod transposition;
use crate::data::{BoardConfig, Move};
use crate::generator::MoveGenerator;
pub use negamax::NegaMaxAI;
use std::time::Duration;
pub trait AI {
fn get_best_move(&mut self, config: &BoardConfig, gen: &MoveGenerator) -> Option<Move>;
fn get_stats(&self) -> AIStat;
}
#[d... | rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs-lib/src/ai/eval.rs | chrs-lib/src/ai/eval.rs | use crate::data::{BoardConfig, BoardPiece, Color, Move, Square};
use strum::IntoEnumIterator;
const MATERIAL_SCORE: [i32; 12] = [
100, 300, 350, 500, 1000, 10000, -100, -300, -350, -500, -1000, -10000,
];
#[rustfmt::skip]
const PAWN_SCORE: [i32; 64] =
[
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0,... | rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs-lib/src/zobrist/mod.rs | chrs-lib/src/zobrist/mod.rs | use crate::data::{BoardConfig, BoardPiece, Color, Square};
use crate::prng::*;
use lazy_static::lazy_static;
lazy_static! {
pub static ref PIECE_KEYS: [[u64; 12]; 64] = {
let mut t = [[0; 12]; 64];
let mut i = 0;
while i < 64 {
let mut p = 0;
while p < 12 {
... | rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs-lib/src/generator/mod.rs | chrs-lib/src/generator/mod.rs | pub mod tables;
use crate::data::{
BitBoard, BoardConfig, BoardPiece, Color, Move, MoveList, MoveType, Square, B_PIECES, W_PIECES,
};
use tables::*;
pub struct MoveGenerator {
rook_magics: [MagicEntry; 64],
bishop_magics: [MagicEntry; 64],
rook_moves: Vec<BitBoard>,
bishop_moves: Vec<BitBoard>,
}... | rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs-lib/src/generator/tables.rs | chrs-lib/src/generator/tables.rs | use crate::data::{BitBoard, BoardPiece, Color};
use crate::prng::*;
pub const NOT_A_FILE: u64 = {
let mut x: u64 = 0;
let mut i = 0;
while i < 64 {
if i % 8 != 0 {
x |= 1 << i;
}
i = i + 1;
}
x
};
pub const NOT_AB_FILE: u64 = {
let mut x: u64 = 0;
let mu... | rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs-lib/src/data/piece.rs | chrs-lib/src/data/piece.rs | use std::ops::Not;
use strum_macros::{Display, EnumIter, EnumString};
#[derive(Debug, Clone, Copy, Eq, PartialEq, Hash, Display)]
pub enum Color {
White,
Black,
}
impl Not for Color {
type Output = Self;
fn not(self) -> Self {
use Color::*;
match self {
White => Black,
... | rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs-lib/src/data/fen.rs | chrs-lib/src/data/fen.rs | use std::str::FromStr;
use crate::data::{BoardMap, CastleFlags, GameState};
use crate::zobrist::hash;
use super::piece::{BoardPiece, Color};
use super::square::Square;
use super::BoardConfig;
pub struct Fen;
impl Fen {
pub fn make_config_from_str(s: &str) -> BoardConfig {
Fen::make_config(s)
}
... | rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs-lib/src/data/bitboard.rs | chrs-lib/src/data/bitboard.rs | use super::square::Square;
use std::cmp::PartialEq;
use std::fmt::Display;
use std::ops::{BitAnd, BitAndAssign, BitOr, BitOrAssign, Deref, DerefMut, Not, Shl, Shr};
#[derive(Debug, Clone, Copy, Default, PartialOrd, Ord, Eq, PartialEq)]
pub struct BitBoard(u64);
impl Deref for BitBoard {
type Target = u64;
fn... | rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs-lib/src/data/mod.rs | chrs-lib/src/data/mod.rs | pub mod bitboard;
mod fen;
mod moves;
pub mod piece;
mod square;
use crate::zobrist::{hash, update_castle, update_ep, update_side};
use crate::{generator::MoveGenerator, zobrist::update_piece};
use fen::Fen;
use moves::CastleType;
use std::str::FromStr;
use strum::IntoEnumIterator;
pub use bitboard::BitBoard;
pub use... | rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs-lib/src/data/moves.rs | chrs-lib/src/data/moves.rs | use super::piece::BoardPiece;
use super::square::Square;
use super::{BoardConfig, CastleFlags};
use std::fmt::{Debug, Display, Formatter, Result};
use std::ops::{Deref, DerefMut};
#[derive(Clone, Copy, Eq, PartialEq, Debug)]
pub enum CastleType {
KingSide,
QueenSide,
}
#[derive(Debug, PartialEq, Eq, Copy, Clo... | rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs-lib/src/data/square.rs | chrs-lib/src/data/square.rs | use std::convert::{Into, TryFrom};
use strum_macros::{Display, EnumIter, EnumString};
macro_rules! make_enum {
($(#[$meta:meta])* $vis:vis enum $name:ident {
$($(#[$vmeta:meta])* $vname:ident $(= $val:expr)?,)*
}) => {
$(#[$meta])*
$vis enum $name {
$($(#[$vmeta])* $vname $(... | rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs-perft/src/main.rs | chrs-perft/src/main.rs | #![allow(warnings, unused)]
use chrs_lib::data::{BoardConfig, BoardPiece, Color, Move, Square};
use chrs_lib::generator::MoveGenerator;
use chrs_lib::zobrist::hash;
use std::env;
use std::str::FromStr;
use std::time::Instant;
fn perft_impl(depth: usize, config: &mut BoardConfig, gen: &MoveGenerator, divide: bool) -> ... | rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs/src/app.rs | chrs/src/app.rs | use crate::board::{events::BoardEvent, Board};
use crate::ui::GuiFramework;
use chrs_lib::ai::{NegaMaxAI, AI};
use chrs_lib::data::{BoardConfig, Color, GameState, MoveList, Square};
use chrs_lib::generator::MoveGenerator;
use log;
use pixels::{Error, Pixels, SurfaceTexture};
use std::cell::RefCell;
use std::rc::Rc;
us... | rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs/src/main.rs | chrs/src/main.rs | #![allow(warnings, unused)]
mod app;
mod board;
mod cache;
mod ui;
use app::App;
use pixels::Error;
fn main() {
#[cfg(target_arch = "wasm32")]
{
std::panic::set_hook(Box::new(console_error_panic_hook::hook));
console_log::init_with_level(log::Level::Info).expect("error initializing logger");
... | rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs/src/cache.rs | chrs/src/cache.rs | use std::collections::HashMap;
#[derive(Debug)]
pub struct Cache<T: Clone> {
store: HashMap<String, T>,
}
impl<T: Clone> Default for Cache<T> {
fn default() -> Self {
Cache {
store: HashMap::new(),
}
}
}
impl<T: Clone> Cache<T> {
pub fn get(&self, id: &str) -> Option<T> {
... | rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs/src/board/embed.rs | chrs/src/board/embed.rs | use rust_embed::RustEmbed;
#[derive(RustEmbed)]
#[folder = "assets/pieces"]
pub struct SvgSprites;
#[derive(RustEmbed)]
#[folder = "assets/fonts"]
pub struct EmbeddedFonts;
| rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs/src/board/mod.rs | chrs/src/board/mod.rs | mod embed;
pub mod events;
use crate::cache::Cache;
use chrs_lib::data::{BoardConfig, BoardPiece, Color, GameState, Move, MoveList, Square};
use chrs_lib::generator::MoveGenerator;
use embed::{EmbeddedFonts, SvgSprites};
use events::{BoardEvent, ElementState, MouseButton, MouseState};
use fontdue::{
layout::{Coord... | rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs/src/board/events.rs | chrs/src/board/events.rs | pub use winit::event::{ElementState, MouseButton};
pub enum BoardEvent {
CursorMoved {
position: (usize, usize),
},
MouseInput {
state: ElementState,
button: MouseButton,
},
CursorLeft,
}
#[derive(Debug, Default)]
pub struct MouseState {
is_left_pressed: bool,
is_ri... | rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs/src/ui/gui.rs | chrs/src/ui/gui.rs | use std::cell::RefCell;
use std::rc::Rc;
use chrs_lib::ai::NegaMaxAI;
use chrs_lib::data::BoardConfig;
use chrs_lib::data::Color;
use egui::Slider;
use egui::{Color32, Context};
pub struct Gui {
fen: String,
bit_board: String,
show_menu: bool,
show_about: bool,
}
impl Gui {
/// Create a `Gui`.
... | rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
ParthPant/chess-rs | https://github.com/ParthPant/chess-rs/blob/6916b36b2a0ef29864a140207c52588b3d201799/chrs/src/ui/mod.rs | chrs/src/ui/mod.rs | /* Shamelessly Copied from examples/minimal-egui in `Pixels` repo!
* Link: https://github.com/parasyte/pixels/blob/main/examples/minimal-egui/src/gui.rs
*/
mod gui;
use chrs_lib::ai::NegaMaxAI;
use chrs_lib::data::BoardConfig;
use egui::{ClippedPrimitive, Context, TexturesDelta};
use egui_wgpu::renderer::{Renderer, ... | rust | MIT | 6916b36b2a0ef29864a140207c52588b3d201799 | 2026-01-04T20:21:38.332169Z | false |
jedisct1/rust-ed25519-compact | https://github.com/jedisct1/rust-ed25519-compact/blob/661a45223bece49b3ad8da33fe0f3a408ea895c1/src/lib.rs | src/lib.rs | //! A compact Ed25519 and X25519 implementation for Rust.
//!
//! * Formally-verified Curve25519 field arithmetic
//! * `no_std`-friendly
//! * WebAssembly-friendly
//! * Fastly Compute-friendly
//! * Lightweight
//! * Zero dependencies if randomness is provided by the application
//! * Only one portable dependency (`g... | rust | MIT | 661a45223bece49b3ad8da33fe0f3a408ea895c1 | 2026-01-04T20:21:43.974864Z | false |
jedisct1/rust-ed25519-compact | https://github.com/jedisct1/rust-ed25519-compact/blob/661a45223bece49b3ad8da33fe0f3a408ea895c1/src/field25519.rs | src/field25519.rs | #![allow(unused_parens)]
#![allow(non_camel_case_types)]
use core::cmp::{Eq, PartialEq};
use core::ops::{Add, Mul, Sub};
use crate::error::*;
pub type fiat_25519_u1 = u8;
pub type fiat_25519_i1 = i8;
pub type fiat_25519_i2 = i8;
#[cfg_attr(feature = "opt_size", inline(never))]
#[cfg_attr(not(feature = "opt_size"), ... | rust | MIT | 661a45223bece49b3ad8da33fe0f3a408ea895c1 | 2026-01-04T20:21:43.974864Z | false |
jedisct1/rust-ed25519-compact | https://github.com/jedisct1/rust-ed25519-compact/blob/661a45223bece49b3ad8da33fe0f3a408ea895c1/src/sha512.rs | src/sha512.rs | //! A small, self-contained SHA512 implementation
//! (C) Frank Denis, public domain
#![allow(
non_snake_case,
clippy::cast_lossless,
clippy::eq_op,
clippy::identity_op,
clippy::many_single_char_names,
clippy::unreadable_literal
)]
#[cfg_attr(feature = "opt_size", inline(never))]
#[cfg_attr(no... | rust | MIT | 661a45223bece49b3ad8da33fe0f3a408ea895c1 | 2026-01-04T20:21:43.974864Z | false |
jedisct1/rust-ed25519-compact | https://github.com/jedisct1/rust-ed25519-compact/blob/661a45223bece49b3ad8da33fe0f3a408ea895c1/src/error.rs | src/error.rs | use core::fmt::{self, Display};
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
pub enum Error {
/// The signature doesn't verify.
SignatureMismatch,
/// A weak public key was used.
WeakPublicKey,
/// The public key is invalid.
InvalidPublicKey,
/// The secret key is invalid.
InvalidSecret... | rust | MIT | 661a45223bece49b3ad8da33fe0f3a408ea895c1 | 2026-01-04T20:21:43.974864Z | false |
jedisct1/rust-ed25519-compact | https://github.com/jedisct1/rust-ed25519-compact/blob/661a45223bece49b3ad8da33fe0f3a408ea895c1/src/pem.rs | src/pem.rs | #[cfg(feature = "std")]
use ct_codecs::Encoder;
use ct_codecs::{Base64, Decoder};
use super::{Error, KeyPair, PublicKey, SecretKey, Seed};
const DER_HEADER_SK: [u8; 16] = [48, 46, 2, 1, 0, 48, 5, 6, 3, 43, 101, 112, 4, 34, 4, 32];
const DER_HEADER_PK: [u8; 12] = [48, 42, 48, 5, 6, 3, 43, 101, 112, 3, 33, 0];
impl K... | rust | MIT | 661a45223bece49b3ad8da33fe0f3a408ea895c1 | 2026-01-04T20:21:43.974864Z | false |
jedisct1/rust-ed25519-compact | https://github.com/jedisct1/rust-ed25519-compact/blob/661a45223bece49b3ad8da33fe0f3a408ea895c1/src/ed25519.rs | src/ed25519.rs | use core::convert::TryFrom;
use core::fmt;
use core::ops::{Deref, DerefMut};
use super::common::*;
#[cfg(feature = "blind-keys")]
use super::edwards25519::{ge_scalarmult, sc_invert, sc_mul};
use super::edwards25519::{
ge_scalarmult_base, is_identity, sc_muladd, sc_reduce, sc_reduce32, sc_reject_noncanonical,
G... | rust | MIT | 661a45223bece49b3ad8da33fe0f3a408ea895c1 | 2026-01-04T20:21:43.974864Z | false |
jedisct1/rust-ed25519-compact | https://github.com/jedisct1/rust-ed25519-compact/blob/661a45223bece49b3ad8da33fe0f3a408ea895c1/src/common.rs | src/common.rs | use core::ops::{Deref, DerefMut};
use core::ptr;
use core::sync::atomic;
use super::error::Error;
/// A seed, which a key pair can be derived from.
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash)]
pub struct Seed([u8; Seed::BYTES]);
impl From<[u8; 32]> for Seed {
fn from(seed: [u8; 32]) -> Self {
Seed(... | rust | MIT | 661a45223bece49b3ad8da33fe0f3a408ea895c1 | 2026-01-04T20:21:43.974864Z | false |
jedisct1/rust-ed25519-compact | https://github.com/jedisct1/rust-ed25519-compact/blob/661a45223bece49b3ad8da33fe0f3a408ea895c1/src/edwards25519.rs | src/edwards25519.rs | use core::cmp::min;
use core::ops::{Add, Sub};
use super::error::*;
use super::field25519::*;
#[derive(Clone, Copy)]
pub struct GeP2 {
x: Fe,
y: Fe,
z: Fe,
}
#[derive(Clone, Copy)]
pub struct GeP3 {
x: Fe,
y: Fe,
z: Fe,
t: Fe,
}
#[derive(Clone, Copy, Default)]
pub struct GeP1P1 {
x: ... | rust | MIT | 661a45223bece49b3ad8da33fe0f3a408ea895c1 | 2026-01-04T20:21:43.974864Z | true |
jedisct1/rust-ed25519-compact | https://github.com/jedisct1/rust-ed25519-compact/blob/661a45223bece49b3ad8da33fe0f3a408ea895c1/src/x25519.rs | src/x25519.rs | use core::ops::{Deref, DerefMut};
use super::common::*;
use super::error::Error;
use super::field25519::*;
const POINT_BYTES: usize = 32;
/// Non-uniform output of a scalar multiplication.
/// This represents a point on the curve, and should not be used directly as a
/// cipher key.
#[derive(Clone, Debug, Eq, Partia... | rust | MIT | 661a45223bece49b3ad8da33fe0f3a408ea895c1 | 2026-01-04T20:21:43.974864Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/build.rs | build.rs | fn probe_sysroot() -> String {
std::process::Command::new("rustc")
.arg("--print")
.arg("sysroot")
.output()
.ok()
.and_then(|out| String::from_utf8(out.stdout).ok())
.map(|x| x.trim().to_owned())
.expect("failed to probe rust sysroot")
}
fn main() {
// N... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/attribute.rs | src/attribute.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
use std::sync::Arc;
use rustc_ast::tokenstream::{self, TokenTree};
use rustc_ast::{DelimArgs, LitKind, MetaItemLit, token};
use rustc_errors::{Diag, ErrorGuaranteed};
use rustc_hir::{AttrArgs, AttrItem, Attribute, HirId};
use rustc_middle::ty::Ty... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/mir.rs | src/mir.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
pub mod drop_shim;
pub mod elaborate_drop;
pub mod patch;
use rustc_hir::{self as hir, def::DefKind};
use rustc_middle::mir::CallSource;
use rustc_middle::mir::{
Body, ConstOperand, LocalDecl, Operand, Place, ProjectionElem, Rvalue, SourceInf... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/serde.rs | src/serde.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
use std::sync::Arc;
use rustc_data_structures::fx::{FxHashMap, FxIndexSet};
use rustc_middle::mir::interpret::{self, AllocDecodingState, AllocId};
use rustc_middle::ty::codec::{TyDecoder, TyEncoder};
use rustc_middle::ty::{self, Ty, TyCtxt};
use ... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/atomic_context.rs | src/atomic_context.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
use rustc_hir::def_id::LocalDefId;
use rustc_lint::{LateContext, LateLintPass};
use rustc_middle::mir::mono::MonoItem;
use rustc_middle::ty::{GenericArgs, Instance, TyCtxt, TypingEnv};
use rustc_session::{declare_tool_lint, impl_lint_pass};
use ru... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/lattice.rs | src/lattice.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
/// A [partially ordered set][poset] that has a [greatest lower bound][glb] for any pair of
/// elements in the set.
///
/// Dataflow analyses only require that their domains implement [`JoinSemiLattice`], not
/// `MeetSemiLattice`. However, types... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/monomorphize_collector.rs | src/monomorphize_collector.rs | // Copyright The Rust Project Developers.
// Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
// This module is from rustc_monomorphize/collector.rs, modified so that
// * All uses are collected, including those that should not be codegen-ed locally.
// * `inlines` field is removed from `InliningMa... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | true |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/ctxt.rs | src/ctxt.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
use std::any::Any;
use std::marker::PhantomData;
use std::sync::Arc;
use rusqlite::{Connection, OptionalExtension};
use rustc_data_structures::fx::FxHashMap;
use rustc_data_structures::sync::{DynSend, DynSync, MTLock, RwLock};
use rustc_hir::def_... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/util.rs | src/util.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
use rustc_hir::def_id::DefId;
use rustc_lint::LateContext;
use rustc_middle::ty::TypeVisitableExt;
pub fn fn_has_unsatisfiable_preds(cx: &LateContext<'_>, did: DefId) -> bool {
use rustc_trait_selection::traits;
let predicates = cx
... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/main.rs | src/main.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
#![feature(rustc_private)]
#![feature(box_patterns)]
#![feature(if_let_guard)]
#![feature(never_type)]
#![feature(try_blocks)]
// Used in monomorphize collector
#![feature(impl_trait_in_assoc_type)]
#![feature(once_cell_get_mut)]
// Used in symbol... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/driver.rs | src/driver.rs | //! Contains hacks that changes the flow of compiler.
use std::any::Any;
use std::sync::{Arc, LazyLock, Mutex};
use rustc_codegen_ssa::traits::CodegenBackend;
use rustc_codegen_ssa::{CodegenResults, TargetConfig};
use rustc_data_structures::fx::{FxHashMap, FxIndexMap};
use rustc_data_structures::sync::{DynSend, DynSy... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/symbol.rs | src/symbol.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
#![allow(non_upper_case_globals)]
use rustc_span::Symbol;
use rustc_span::symbol::PREDEFINED_SYMBOLS_COUNT;
macro_rules! def {
($($name: ident,)*) => {
pub const EXTRA_SYMBOLS: &[&str] = &[$(stringify!($name),)*];
$(pub cons... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/infallible_allocation.rs | src/infallible_allocation.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
use rustc_data_structures::fx::{FxHashMap, FxHashSet};
use rustc_lint::{LateContext, LateLintPass, LintContext};
use rustc_middle::mir::mono::MonoItem;
use rustc_middle::ty::Instance;
use rustc_session::{declare_lint_pass, declare_tool_lint};
use ... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/preempt_count/dataflow.rs | src/preempt_count/dataflow.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
use rustc_middle::mir::{BasicBlock, Body, TerminatorEdges, TerminatorKind};
use rustc_middle::ty::{self, Instance, TypingEnv};
use rustc_mir_dataflow::JoinSemiLattice;
use rustc_mir_dataflow::lattice::FlatSet;
use rustc_mir_dataflow::{Analysis, fm... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/preempt_count/annotation.rs | src/preempt_count/annotation.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
use rustc_hir::def::DefKind;
use rustc_hir::def_id::{CrateNum, DefId, DefIndex};
use rustc_hir::definitions::DefPathData;
use rustc_span::sym;
use crate::attribute::PreemptionCount;
use crate::ctxt::AnalysisCtxt;
impl<'tcx> AnalysisCtxt<'tcx> {
... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/preempt_count/check.rs | src/preempt_count/check.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
use rustc_hir::LangItem;
use rustc_hir::def_id::DefId;
use rustc_infer::traits::util::PredicateSet;
use rustc_middle::mir::interpret::{AllocId, ErrorHandled, GlobalAlloc, Scalar};
use rustc_middle::mir::{self, Body, Location, visit::Visitor as Mir... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/preempt_count/expectation.rs | src/preempt_count/expectation.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
use rustc_errors::{EmissionGuarantee, MultiSpan};
use rustc_hir::LangItem;
use rustc_hir::def_id::CrateNum;
use rustc_middle::mir::{self, Body, TerminatorKind};
use rustc_middle::ty::{
self, GenericArgs, Instance, PseudoCanonicalInput, Ty, Typ... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | true |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/preempt_count/mod.rs | src/preempt_count/mod.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
pub mod adjustment;
pub mod annotation;
pub mod check;
pub mod dataflow;
pub mod expectation;
use rustc_errors::ErrorGuaranteed;
use rustc_mir_dataflow::lattice::FlatSet;
use crate::lattice::MeetSemiLattice;
#[derive(Clone, Copy, Debug, Partial... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/preempt_count/adjustment.rs | src/preempt_count/adjustment.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
use rustc_errors::{Diag, EmissionGuarantee, ErrorGuaranteed};
use rustc_hir::LangItem;
use rustc_hir::def_id::CrateNum;
use rustc_middle::mir::{Body, TerminatorKind, UnwindAction};
use rustc_middle::ty::{
self, GenericArgs, Instance, PseudoCan... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | true |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/binary_analysis/reconstruct.rs | src/binary_analysis/reconstruct.rs | use std::sync::Arc;
use rustc_data_structures::fx::FxHashMap;
use rustc_middle::mir::mono::MonoItem;
use rustc_middle::ty::{Instance, TyCtxt};
use rustc_middle::{mir, ty};
use rustc_span::{BytePos, DUMMY_SP, FileName, RemapPathScopeComponents, Span};
use crate::ctxt::AnalysisCtxt;
use crate::diagnostic::use_stack::Us... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/binary_analysis/dwarf.rs | src/binary_analysis/dwarf.rs | use std::num::NonZero;
use std::ops::Range;
use std::path::PathBuf;
use std::sync::Arc;
use std::{borrow::Cow, collections::BTreeMap};
use gimli::{
AttributeValue, DebuggingInformationEntry, Dwarf, EndianSlice, LineProgramHeader, LineRow, Unit,
};
use object::Object;
use object::{
Endian, File, ObjectSection, ... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/binary_analysis/stack_size.rs | src/binary_analysis/stack_size.rs | use iced_x86::{Decoder, DecoderOptions, Mnemonic, OpKind, Register};
use object::{Architecture, File, Object, ObjectSection, SectionKind};
use rustc_data_structures::fx::FxHashSet;
use rustc_errors::{Diag, Diagnostic, Level};
use rustc_hir::CRATE_HIR_ID;
use rustc_middle::mir::mono::MonoItem;
use rustc_middle::ty::Inst... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/binary_analysis/build_error.rs | src/binary_analysis/build_error.rs | use object::{File, Object, ObjectSection, ObjectSymbol, RelocationTarget};
use rustc_middle::mir::mono::MonoItem;
use rustc_middle::ty::{Instance, TypingEnv};
use rustc_span::Span;
use crate::ctxt::AnalysisCtxt;
use crate::diagnostic::use_stack::{UseSite, UseSiteKind};
#[derive(Diagnostic)]
#[diag(klint_build_error_r... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/binary_analysis/mod.rs | src/binary_analysis/mod.rs | use std::fs::File;
use std::path::Path;
use object::{File as ObjectFile, Object, ObjectSection, ObjectSymbol, Section, SymbolSection};
use crate::ctxt::AnalysisCtxt;
mod build_error;
mod dwarf;
mod reconstruct;
pub(crate) mod stack_size;
pub fn binary_analysis<'tcx>(cx: &AnalysisCtxt<'tcx>, path: &Path) {
let f... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/utils/anymap.rs | src/utils/anymap.rs | use std::any::{Any, TypeId};
use std::collections::hash_map as map;
use std::marker::{PhantomData, Unsize};
use rustc_data_structures::fx::FxHashMap;
/// Map that can store data for arbitrary types.
pub struct AnyMap<U: ?Sized> {
// This is basically `FxHashMap<TypeId, Box<dyn Any>>`
//
// The generic `U`... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/utils/mod.rs | src/utils/mod.rs | pub mod anymap;
| rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/diagnostic/mod.rs | src/diagnostic/mod.rs | pub(crate) mod use_stack;
use rustc_middle::ty::PseudoCanonicalInput;
pub struct PolyDisplay<'a, 'tcx, T>(pub &'a PseudoCanonicalInput<'tcx, T>);
impl<T> std::fmt::Display for PolyDisplay<'_, '_, T>
where
T: std::fmt::Display + Copy,
{
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/diagnostic/use_stack.rs | src/diagnostic/use_stack.rs | //! Utility for generating diagnostic information that involves chains.
//!
//! For example, when giving context about why a specific instance is used, a call stack (or rather, use stack,
//! as some usage may be due to pointer coercion or static reference).
use rustc_errors::{Diag, EmissionGuarantee, MultiSpan};
use ... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/mir/elaborate_drop.rs | src/mir/elaborate_drop.rs | #![allow(dead_code)]
// From rustc_mir_transform/src/elaborate_drop.rs
// Needed because they're `pub(crate)`
use std::{fmt, iter, mem};
use rustc_abi::{FIRST_VARIANT, FieldIdx, VariantIdx};
use rustc_hir::def::DefKind;
use rustc_hir::lang_items::LangItem;
use rustc_index::Idx;
use rustc_middle::mir::*;
use rustc_mid... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | true |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/mir/drop_shim.rs | src/mir/drop_shim.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
// From rustc_mir_transform/src/shim.rs
// Adopted to support polymorphic drop shims
use rustc_abi::{FieldIdx, VariantIdx};
use rustc_hir::def_id::DefId;
use rustc_index::{Idx, IndexVec};
use rustc_middle::mir::*;
use rustc_middle::ty::{self, Ear... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/mir/patch.rs | src/mir/patch.rs | #![allow(dead_code)]
// From rustc_mir_transform/src/patch.rs
// Needed because they're `pub(crate)`
use rustc_index::{Idx, IndexVec};
use rustc_middle::mir::*;
use rustc_middle::ty::Ty;
use rustc_span::Span;
use tracing::debug;
/// This struct lets you "patch" a MIR body, i.e. modify it. You can queue up
/// various... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/diagnostic_items/out_of_band.rs | src/diagnostic_items/out_of_band.rs | //! Out-of-band attributes attached without source code changes.
use rustc_hir::def_id::{DefId, LOCAL_CRATE};
use rustc_hir::diagnostic_items::DiagnosticItems;
use rustc_middle::middle::exported_symbols::ExportedSymbol;
use rustc_middle::ty::TyCtxt;
pub fn infer_missing_items<'tcx>(tcx: TyCtxt<'tcx>, items: &mut Diag... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/src/diagnostic_items/mod.rs | src/diagnostic_items/mod.rs | mod out_of_band;
use std::sync::Arc;
use rustc_data_structures::fx::FxIndexMap;
use rustc_hir::CRATE_OWNER_ID;
use rustc_hir::def_id::{CrateNum, DefId, LOCAL_CRATE};
use rustc_hir::diagnostic_items::DiagnosticItems;
use rustc_middle::ty::TyCtxt;
use rustc_serialize::{Decodable, Encodable};
use rustc_span::{Span, Symb... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/tests/compile-test.rs | tests/compile-test.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
extern crate compiletest_rs as compiletest;
use std::env;
use std::path::PathBuf;
use std::sync::LazyLock;
static PROFILE_PATH: LazyLock<PathBuf> = LazyLock::new(|| {
let current_exe_path = env::current_exe().unwrap();
let deps_path = cu... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/tests/dep/bin.rs | tests/dep/bin.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
use spin::*;
fn main() {
let lock = Spinlock;
drop(lock);
}
| rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/tests/dep/main.rs | tests/dep/main.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
use std::env;
use std::path::PathBuf;
use std::sync::LazyLock;
static PROFILE_PATH: LazyLock<PathBuf> = LazyLock::new(|| {
let current_exe_path = env::current_exe().unwrap();
let deps_path = current_exe_path.parent().unwrap();
let pro... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/tests/dep/spin.rs | tests/dep/spin.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
pub struct Guard;
impl Drop for Guard {
#[klint::preempt_count(adjust = -1, unchecked)]
fn drop(&mut self) {}
}
pub struct Spinlock;
impl Spinlock {
#[klint::preempt_count(adjust = 1, unchecked)]
pub fn lock(&self) -> Guard {
... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/tests/ui/obligation-resolution.rs | tests/ui/obligation-resolution.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
// This is a regression test which is minimize from ICE when compiling libcore.
pub trait Pattern: Sized {
#[inline]
fn strip_prefix_of(self, _haystack: &str) -> Option<&str> {
let _ = &0;
None
}
}
#[doc(hidden)]
trai... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/tests/ui/iflet.rs | tests/ui/iflet.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
pub struct X;
impl Drop for X {
#[klint::preempt_count(expect = 0)]
#[inline(never)]
fn drop(&mut self) {}
}
#[klint::preempt_count(expect = 0..)]
pub fn foo(x: Option<X>) -> Option<X> {
// This control flow only conditionally mo... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/tests/ui/calltrace.rs | tests/ui/calltrace.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
use alloc::vec::Vec;
struct LockOnDrop;
impl Drop for LockOnDrop {
#[klint::preempt_count(adjust = 1, unchecked)]
fn drop(&mut self) {}
}
#[klint::preempt_count(expect = 0)]
fn might_sleep() {}
fn problematic<T>(x: T) {
drop(x);
... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/tests/ui/box_free.rs | tests/ui/box_free.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
#![feature(allocator_api)]
use alloc::boxed::Box;
use core::alloc::{AllocError, Allocator, Layout};
use core::ptr::NonNull;
struct TestAllocator;
unsafe impl Allocator for TestAllocator {
#[inline]
fn allocate(&self, layout: Layout) -> ... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/tests/ui/stack_frame_size.rs | tests/ui/stack_frame_size.rs | #![deny(klint::stack_frame_too_large)]
#[unsafe(no_mangle)]
fn very_large_frame() {
core::hint::black_box([0; 1024]);
}
| rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/tests/ui/drop-array.rs | tests/ui/drop-array.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
use alloc::boxed::Box;
struct LockOnDrop;
impl Drop for LockOnDrop {
#[klint::preempt_count(adjust = 1, unchecked)]
fn drop(&mut self) {}
}
struct SleepOnDrop;
impl Drop for SleepOnDrop {
#[klint::preempt_count(expect = 0)]
fn ... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/tests/ui/function-pointer.rs | tests/ui/function-pointer.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
#[klint::preempt_count(adjust = 1, unchecked)]
fn spin_lock() {}
fn okay() {
}
fn not_okay() {
spin_lock();
}
#[klint::preempt_count(adjust = 0)]
pub fn good() {
let a: fn() = okay;
a();
}
#[klint::preempt_count(adjust = 0)]
pub f... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/tests/ui/annotation.rs | tests/ui/annotation.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
#[klint::preempt_count]
fn a() {}
#[klint::preempt_count()]
fn b() {}
#[klint::preempt_count(adjust = )]
fn c() {}
#[klint::preempt_count(expect = )]
fn d() {}
#[klint::preempt_count(expect = ..)]
fn e() {}
#[klint::preempt_count(unchecked)]
... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/tests/ui/infinite_recursion.rs | tests/ui/infinite_recursion.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
trait ToOpt: Sized {
fn to_option(&self) -> Option<Self>;
}
impl ToOpt for usize {
fn to_option(&self) -> Option<usize> {
Some(*self)
}
}
impl<T:Clone> ToOpt for Option<T> {
fn to_option(&self) -> Option<Option<T>> {
... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/tests/ui/recursion.rs | tests/ui/recursion.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
use alloc::sync::Arc;
#[klint::preempt_count(expect = 0)]
fn might_sleep() {}
#[klint::preempt_count(expect = 0)]
fn recursive_might_sleep() {
if false {
recursive_might_sleep();
}
might_sleep();
}
fn recursive_might_sleep_u... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/tests/ui/upcasting.rs | tests/ui/upcasting.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
#[klint::drop_preempt_count(expect = 0)]
trait A {}
#[klint::drop_preempt_count(expect = 1)]
trait B: A {}
fn upcast(x: &dyn B) -> &dyn A {
x
}
| rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/tests/ui/build_error.rs | tests/ui/build_error.rs | unsafe extern "C" {
#[klint::diagnostic_item = "build_error"]
safe fn rust_build_error();
}
macro_rules! build_assert {
($expr:expr) => {
if !$expr {
rust_build_error();
}
}
}
#[inline]
fn inline_call() {
build_assert!(false);
}
#[unsafe(no_mangle)]
fn gen_build_error(... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/tests/ui/waker.rs | tests/ui/waker.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
#[klint::preempt_count(expect = 0..)]
fn waker_ops(x: &core::task::Waker) {
x.clone().wake();
x.wake_by_ref();
}
| rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/tests/ui/vtable.rs | tests/ui/vtable.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
use alloc::boxed::Box;
#[klint::preempt_count(adjust = 1, unchecked)]
fn spin_lock() {}
trait MyTrait {
fn foo(&self);
}
struct Good;
impl MyTrait for Good {
fn foo(&self) {}
}
#[klint::preempt_count(adjust = 0)]
pub fn good() {
l... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/tests/ui/adjustment.rs | tests/ui/adjustment.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
struct Guard;
impl Drop for Guard {
#[klint::preempt_count(adjust = -1, unchecked)]
fn drop(&mut self) {}
}
struct Spinlock;
impl Spinlock {
#[klint::preempt_count(adjust = 1, unchecked)]
fn lock(&self) -> Guard {
Guard
... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
Rust-for-Linux/klint | https://github.com/Rust-for-Linux/klint/blob/2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7/tests/ui/drop-slice.rs | tests/ui/drop-slice.rs | // Copyright Gary Guo.
//
// SPDX-License-Identifier: MIT OR Apache-2.0
use alloc::boxed::Box;
struct LockOnDrop;
impl Drop for LockOnDrop {
#[klint::preempt_count(adjust = 1, unchecked)]
fn drop(&mut self) {}
}
struct SleepOnDrop;
impl Drop for SleepOnDrop {
#[klint::preempt_count(expect = 0)]
fn ... | rust | Apache-2.0 | 2651b747c68a5fefc0ff72f3b2a9395e1c75dcd7 | 2026-01-04T20:21:44.735699Z | false |
joaoviictorti/coffeeldr | https://github.com/joaoviictorti/coffeeldr/blob/45fcea8c7145e4d4afa2fe59950cbb491f80dbc3/src/beacon.rs | src/beacon.rs | use alloc::{
string::{String, ToString},
vec::Vec,
};
use core::{
alloc::Layout,
ffi::{CStr, c_void},
ffi::{c_char, c_int, c_short},
fmt,
ptr::{self, null_mut},
};
use spin::Mutex;
use obfstr::obfstr as s;
use dinvk::{winapis::NtCurrentProcess, syscall};
use dinvk::{types::OBJECT_ATTRIBUTES... | rust | Apache-2.0 | 45fcea8c7145e4d4afa2fe59950cbb491f80dbc3 | 2026-01-04T20:21:47.060296Z | false |
joaoviictorti/coffeeldr | https://github.com/joaoviictorti/coffeeldr/blob/45fcea8c7145e4d4afa2fe59950cbb491f80dbc3/src/lib.rs | src/lib.rs | #![no_std]
#![doc = include_str!("../README.md")]
#![feature(c_variadic, core_intrinsics)]
#![allow(clippy::ptr_eq)]
#![allow(non_snake_case, non_camel_case_types)]
#![allow(internal_features, unsafe_op_in_unsafe_fn)]
extern crate alloc;
mod beacon;
mod loader;
mod beacon_pack;
pub mod coff;
pub mod error;
pub use l... | rust | Apache-2.0 | 45fcea8c7145e4d4afa2fe59950cbb491f80dbc3 | 2026-01-04T20:21:47.060296Z | false |
joaoviictorti/coffeeldr | https://github.com/joaoviictorti/coffeeldr/blob/45fcea8c7145e4d4afa2fe59950cbb491f80dbc3/src/error.rs | src/error.rs | //! Errors returned by this crate.
//!
//! This module contains the definitions for all error types returned by this crate.
use alloc::string::String;
use thiserror::Error;
/// Result alias for CoffeeLdr operations.
pub type Result<T> = core::result::Result<T, CoffeeLdrError>;
/// Represents all possible errors that... | rust | Apache-2.0 | 45fcea8c7145e4d4afa2fe59950cbb491f80dbc3 | 2026-01-04T20:21:47.060296Z | false |
joaoviictorti/coffeeldr | https://github.com/joaoviictorti/coffeeldr/blob/45fcea8c7145e4d4afa2fe59950cbb491f80dbc3/src/loader.rs | src/loader.rs | use alloc::{
boxed::Box,
collections::BTreeMap,
ffi::CString,
format,
string::{String, ToString},
vec::Vec,
vec,
};
use core::intrinsics::{
volatile_copy_nonoverlapping_memory,
volatile_set_memory
};
use core::{
ffi::c_void,
mem::transmute,
ptr::{
null_mut,
... | rust | Apache-2.0 | 45fcea8c7145e4d4afa2fe59950cbb491f80dbc3 | 2026-01-04T20:21:47.060296Z | true |
joaoviictorti/coffeeldr | https://github.com/joaoviictorti/coffeeldr/blob/45fcea8c7145e4d4afa2fe59950cbb491f80dbc3/src/beacon_pack.rs | src/beacon_pack.rs | use alloc::vec::Vec;
use binrw::io::Write;
use hex::FromHex;
use crate::error::Result;
/// Buffer used to build Beacon-compatible packed arguments.
///
/// The buffer keeps track of the total payload size and exposes helpers
/// for appending integers, strings, wide strings and raw binary data.
#[derive(Default)]
pub ... | rust | Apache-2.0 | 45fcea8c7145e4d4afa2fe59950cbb491f80dbc3 | 2026-01-04T20:21:47.060296Z | false |
joaoviictorti/coffeeldr | https://github.com/joaoviictorti/coffeeldr/blob/45fcea8c7145e4d4afa2fe59950cbb491f80dbc3/src/coff.rs | src/coff.rs | //! COFF parsing utilities for the CoffeeLdr loader.
use core::ffi::{CStr, c_void};
use alloc::{
string::{String, ToString},
vec::Vec,
};
use log::{debug, warn};
use binrw::{BinRead, binread};
use binrw::io::Cursor;
use crate::error::{CoffError, CoffeeLdrError};
// Architecture definitions for x64
const COF... | rust | Apache-2.0 | 45fcea8c7145e4d4afa2fe59950cbb491f80dbc3 | 2026-01-04T20:21:47.060296Z | false |
joaoviictorti/coffeeldr | https://github.com/joaoviictorti/coffeeldr/blob/45fcea8c7145e4d4afa2fe59950cbb491f80dbc3/cli/src/main.rs | cli/src/main.rs | use clap_verbosity_flag::Verbosity;
use log::{error, info};
use clap::Parser;
use base64::{engine::general_purpose, Engine as _};
use coffeeldr::{BeaconPack, CoffeeLdr};
mod logging;
/// The main command-line interface struct.
#[derive(Parser)]
#[clap(author="joaoviictorti", about="A COFF loader written in Rust")]
pu... | rust | Apache-2.0 | 45fcea8c7145e4d4afa2fe59950cbb491f80dbc3 | 2026-01-04T20:21:47.060296Z | false |
joaoviictorti/coffeeldr | https://github.com/joaoviictorti/coffeeldr/blob/45fcea8c7145e4d4afa2fe59950cbb491f80dbc3/cli/src/logging.rs | cli/src/logging.rs | use clap_verbosity_flag::Verbosity;
use env_logger::Builder;
use log::{Level, LevelFilter};
/// Initializes the logger
pub fn init_logger(verbosity: &Verbosity) {
let level = verbosity
.log_level()
.map(level_to_filter)
.unwrap_or(LevelFilter::Warn);
Builder::new()
.filter_leve... | rust | Apache-2.0 | 45fcea8c7145e4d4afa2fe59950cbb491f80dbc3 | 2026-01-04T20:21:47.060296Z | false |
tailhook/unshare | https://github.com/tailhook/unshare/blob/6cdc15d97aca90f59d1427e01da4c461184d0fe4/src/config.rs | src/config.rs | use std::default::Default;
use std::ffi::CString;
use std::collections::HashMap;
use nix::sys::signal::{Signal, SIGKILL};
use nix::sched::CloneFlags;
use libc::{uid_t, gid_t};
use crate::idmap::{UidMap, GidMap};
use crate::namespace::Namespace;
use crate::stdio::Closing;
pub struct Config {
pub death_sig: Optio... | rust | Apache-2.0 | 6cdc15d97aca90f59d1427e01da4c461184d0fe4 | 2026-01-04T20:21:52.548549Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.