linking / symbol stuff
This commit is contained in:
+4
-8
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user