Skip to content

Commit dce0ecd

Browse files
committed
readme update
1 parent 6bf39f4 commit dce0ecd

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/libmwemu/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libmwemu"
3-
version = "0.23.6"
3+
version = "0.23.7"
44
edition = "2018"
55
authors = ["sha0coder"]
66
license = "MIT"

crates/libmwemu/README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,29 @@
11

2-
# LIBMWEMU the core of MWEMU emulator
2+
# LIBMWEMU x86 emulation + win32 simulation
33

44
## Documentation
55

66
Check the official documentation, here there are explanations, examples, and links to docs.rs:
77

8-
https://mwemu.github.io/#libmwemu
8+
- https://mwemu.github.io/#libmwemu
99

1010
The docs.rs automatic documentation:
1111

12-
https://docs.rs/libmwemu/0.23.5/libmwemu/
12+
- https://docs.rs/libmwemu/0.23.5/libmwemu/
1313

1414
## Crate
1515

1616
https://crates.io/crates/libmwemu
1717

18+
## Github
19+
20+
https://github.com/sha0coder/mwemu
21+
1822
## Usage
1923

2024
Download the maps32 or maps64 from:
2125
https://github.com/sha0coder/mwemu
2226

23-
In the example it's on /tmp/ but dont use tmp.
24-
2527
Create an emu32 or emu64 and it's important to set the maps folder.
2628

2729
```rust
@@ -53,7 +55,7 @@ let crypto_key_gen = 0x40112233;
5355
let ret_addr = 0x40110000; // any place safe to return.
5456

5557
let param1 = 0x33;
56-
let param2_out_buff = emu.alloc("buffer", 1024);
58+
let param2_out_buff = emu.alloc("buffer", 1024, Permission::READ_WRITE_EXECUTE);
5759

5860
emu.maps.memset(param2_out_buff, 0, 1024); // non necesary, by default alloc create zeros.
5961
emu.maps.write_spaced_bytes(param2_out_buff,

0 commit comments

Comments
 (0)