diff options
author | bloodstalker <thabogre@gmail.com> | 2018-03-07 11:37:18 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-03-07 11:37:18 +0000 |
commit | 5bd8253d71482f2badc2d096ad728e57aebca810 (patch) | |
tree | c6a2ccad782fc057e28a3702c360701f0e0e5fee | |
parent | lazybones (diff) | |
download | memdump-5bd8253d71482f2badc2d096ad728e57aebca810.tar.gz memdump-5bd8253d71482f2badc2d096ad728e57aebca810.zip |
update
-rw-r--r-- | README.md | 9 | ||||
-rwxr-xr-x | run.sh | 4 |
2 files changed, 10 insertions, 3 deletions
@@ -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/> @@ -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 |