From da00969b12faff14568888867aff206b9975a321 Mon Sep 17 00:00:00 2001 From: Alan Li <61896187+lebr0nli@users.noreply.github.com> Date: Wed, 29 Nov 2023 09:41:56 +0800 Subject: [PATCH] Create guide for uninstalling --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 313bbeb..c809ba8 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,9 @@ $ bash -c "$(curl -fsSL https://raw.githubusercontent.com/lebr0nli/GEP/main/inst $ bash -c "$(wget https://raw.githubusercontent.com/lebr0nli/GEP/main/install.sh -O -)" ``` +> **Note** +> After the installation, the script will automatically add `source /path/to/GEP/gdbinit-gep.py` to your `~/.gdbinit` file. Please make this line is **always** at the end of your `~/.gdbinit` file to avoid some unexpected behaviors. + 3. Enjoy! ## How to update the version of GEP? @@ -100,6 +103,22 @@ If you have some user-defined function that has `dont-repeat` property, add your > > If you found some builtin commands which should or shouldn't be added by default, let me know on the issue page, thanks! +## Uninstall + +If this is your current `~/.gdbinit` file after the installation: + +```shell +source /path/to/GEP/gdbinit-gep.py +``` + +Then, you can uninstall this plug-in by: + +```shell +rm -rf /path/to/GEP +``` + +And remove `source /path/to/GEP/gdbinit-gep.py` from your `~/.gdbinit`. + ## Credits Some ideas/code are inspired by [hugsy/gef](https://github.com/hugsy/gef) and [pwndbg/pwndbg](https://github.com/pwndbg/pwndbg).