aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--README.md9
-rwxr-xr-xrun.sh4
2 files changed, 10 insertions, 3 deletions
diff --git a/README.md b/README.md
index cfaee7a..bfd964c 100644
--- a/README.md
+++ b/README.md
@@ -3,13 +3,20 @@ Dump Memory
# Building
-For Android:<br/>
+If you are building for Android and your host is linux:<br/>
```bash
export NDK_PROJECT_DIR=`pwd`
make android
```
+If you are building for android and your host is windows and you use cygwin, you can't use `pwd` to get the path since that would return a nix style path and your windows ndk won't recognize that. Just give it a windows path.<br/>
+
For Linux:
```bash
make
```
+
+if you are building on linux for linux or android on android just run `make` and you're good to go. you obviously need sudo to attach to a pid so it wont work on your android device if its not rooted.<br/>
+
+For windows:
+You can't use this to get RAM dumps on windows.<br/>
diff --git a/run.sh b/run.sh
index 93a373a..d426235 100755
--- a/run.sh
+++ b/run.sh
@@ -1,4 +1,4 @@
-#/data/data/com.termux/files/usr/bin/bash
+#!/data/data/com.termux/files/usr/bin/bash
#/usr/bin/bash
-./main $(pgrep "$1")
+./main $(pgrep "$1") > ramdump