Skip to content

Commit

Permalink
I hate markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
cseagle committed Jul 26, 2021
1 parent cf97829 commit ab16884
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,15 +174,18 @@ PE32+/x86_64/Windows.
* IDA's "Take memory snapshot" feature works.
* Conditional breakpoints handled by IDA
* Installed IDC functions allow for mapping additional memory into a Unicorn process

```
int64 sk3wl_mmap(int64 base, long size, int perms) where perms are a combination of:
#define SEGPERM_EXEC 1 ///< Execute
#define SEGPERM_WRITE 2 ///< Write
#define SEGPERM_READ 4 ///< Read
void sk3wl_munmap(int64 base, long size)
```

`sk3wl_mmap` may be used to map new regions of memory into an emulated unicorn process.
These may be invoked from python via the `eval_idc_expr` function:

```
idaapi.eval_idc_expr(idaapi.idc_value_t(), BADADDR, "sk3wl_mmap(0x41414000, 0x1000, 7)")
```
Expand Down

0 comments on commit ab16884

Please sign in to comment.