linking / symbol stuff

This commit is contained in:
2026-06-04 04:28:14 -04:00
parent 380a0f977a
commit 978bac88ed
9 changed files with 506 additions and 43 deletions
+4 -8
View File
@@ -1,17 +1,13 @@
pub mod arch;
pub mod elf;
mod program;
mod symbol;
mod test;
pub use arch::*;
pub use test::*;
#[derive(Debug, Clone, Copy, PartialEq)]
pub struct Addr(u64);
impl Addr {
const NONE: Self = Self(!0);
pub fn val(&self) -> u64 {
self.0
}
}
use program::*;
pub enum Asm {
X86_64(x86_64::Asm),