osom_encoders_x86_64/lib.rs
1//! This crate provides a set of functions to encode x86-64 instructions.
2//!
3//! Most of the encoders here are unsafe, e.g. they don't validate the operands.
4//! It is up to the caller to ensure that the operands are valid.
5//!
6//! The crate tries to follow x86 Intel's manual conventions as close
7//! as possible.
8#![cfg_attr(not(debug_assertions), deny(warnings))]
9#![warn(clippy::all, clippy::pedantic)]
10#![allow(
11 clippy::needless_return,
12 clippy::redundant_field_names,
13 clippy::unreadable_literal,
14 clippy::inline_always,
15 clippy::module_name_repetitions,
16 clippy::len_without_is_empty,
17 clippy::should_implement_trait,
18 clippy::missing_errors_doc,
19 clippy::missing_panics_doc
20)]
21#![no_std]
22
23pub mod encoders;
24pub mod models;
25
26mod invariants;