Skip to content

Commit

Permalink
huge commit, preparing the base for 64bits support
Browse files Browse the repository at this point in the history
  • Loading branch information
sha0coder committed Jan 12, 2022
1 parent e74a6f4 commit dfbe426
Show file tree
Hide file tree
Showing 26 changed files with 3,794 additions and 2,208 deletions.
3 changes: 2 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "scemu"
version = "0.2.6"
version = "0.3.0"
authors = ["sha0coder <[email protected]>"]
edition = "2018"

Expand All @@ -12,3 +12,4 @@ clap = "2.33.3"
md5 = "0.7.0"
lazy_static = "1.4.0"
attohttpc = "0.18.0"
rand = "0.8.4"
12 changes: 6 additions & 6 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ pub struct Config {
pub loops: bool, // loop mode count the iterations for every instruction, its slow.
pub nocolors: bool, // to redirecting the output to a file is better to remove colors.
pub trace_string: bool,
pub string_addr: u32,
pub string_addr: u64,
pub inspect: bool,
pub inspect_seq: String,
pub endpoint: bool,
pub maps_folder: String,
pub console2: bool,
pub console_addr: u32,
pub entry_point: u32,
pub code_base_addr: u32,
pub is_64: bool, // 64bits mode
pub console_addr: u64,
pub entry_point: u64,
pub code_base_addr: u64,
pub is_64bits: bool, // 64bits mode
}

impl Config {
Expand All @@ -44,7 +44,7 @@ impl Config {
console_addr: 0,
entry_point: 0x3c0000,
code_base_addr: 0x3c0000,
is_64: false,
is_64bits: false,
}
}
}
Loading

0 comments on commit dfbe426

Please sign in to comment.