padlock-cli-0.5.4 is not a library.
padlock
The lint pass for struct memory layout — catches padding waste, false sharing, and cache locality problems at the source level, before they cost you at runtime.
Supports C, C++, Rust, and Go. CLI-first and CI-ready.
Install
Quick start
# Analyze source files
# Analyze a compiled binary (most accurate — reads real compiler offsets)
# Show a visual field layout table with padding gaps
# Reorder fields in-place to the optimal layout
# Rust projects: analyze via cargo
Documentation
Full documentation, language support tables, CI integration, and configuration reference are in the main README.