Skip to content

Commit

Permalink
Merge branch 'main' into fix_rr_support
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy authored Jan 27, 2024
2 parents 1550aaa + ece5728 commit bb0dbb5
Show file tree
Hide file tree
Showing 7 changed files with 457 additions and 366 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ jobs:
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
args: --exclude-mail --accept=401 --no-progress 'docs/**/*.md'
args: --exclude-mail --accept=401 --no-progress --exclude 'https://cs.github.com/hugsy/gef\?q=.*' 'docs/**/*.md'
fail: false
8 changes: 4 additions & 4 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ A basic example would be as follow:
class MyCommand(GenericCommand):
[...]

@parse_arguments({"foo": [1,]}, {"--bleh": "", ("--blah", "-l): True})
@parse_arguments({"foo": [1,]}, {"--bleh": "", ("--blah", "-l): False})
def do_invoke(self, argv, *args, **kwargs):
args = kwargs["arguments"]
if args.foo == 1: ...
Expand All @@ -216,9 +216,9 @@ gef➤ mycommand --blah 3 14 159 2653
The function `MyCommand!do_invoke()` can use the command line argument value

```python
args.foo --> [3, 14, 159, 2653] # a List(int) from user input
args.bleh --> "" # the default value
args.blah --> True # set to True because user input declared the option (would have been False otherwise)
args.foo == [3, 14, 159, 2653] # a List(int) from user input
args.bleh == "" # the default value
args.blah == True # set to True because user input declared the option (would have been False otherwise)
```

### Adding new architectures
Expand Down
8 changes: 4 additions & 4 deletions docs/deprecated.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ page aims to track those changes.

| Command | Status | Since | Link (if Applicable) | Notes |
|--|--|--|--|--|
| `cs-disassemble` | Moved | 2022.06 | [Link](https://github.com/hugsy/gef-extras/blob/main/scripts/trinity/capstone.py) | Depends on `capstone` |
| `assemble` | Moved | 2022.06 | [Link](https://github.com/hugsy/gef-extras/blob/main/scripts/trinity/assemble.py) | Depends on `keystone` |
| `emulate` | Moved | 2022.06 | [Link](https://github.com/hugsy/gef-extras/blob/main/scripts/trinity/unicorn.py) | Depends on `unicorn` and `capstone` |
| `set-permission` | Moved | 2022.06 | [Link](https://github.com/hugsy/gef-extras/blob/main/scripts/trinity/mprotect.py) | Depends on `keystone` |
| `cs-disassemble` | Moved | 2022.06 | [Link](https://github.com/hugsy/gef-extras/blob/main/scripts/capstone.py) | Depends on `capstone` |
| `assemble` | Moved | 2022.06 | [Link](https://github.com/hugsy/gef-extras/blob/main/scripts/assemble.py) | Depends on `keystone` |
| `emulate` | Moved | 2022.06 | [Link](https://github.com/hugsy/gef-extras/blob/main/scripts/emulate/__init__.py) | Depends on `unicorn` and `capstone` |
| `set-permission` | Moved | 2022.06 | [Link](https://github.com/hugsy/gef-extras/blob/main/scripts/emulate/__init__.py) | Depends on `keystone` |
| `ropper` | Moved | 2022.06 | [Link](https://github.com/hugsy/gef-extras/blob/main/scripts/ropper.py) | Depends on `ropper` |
| `ida-interact` | Moved | 2022.06 | [Link](https://github.com/hugsy/gef-extras/blob/main/scripts/ida_interact.py) | Depends on `rpyc` |
| `exploit-template` | Moved | [c402900](https://github.com/hugsy/gef-extras/commit/c4029007994d5e508cb3df900b60821b0b61e0e5) | [Link](https://github.com/hugsy/gef-extras/blob/main/scripts/skel.py) | |
Expand Down
Loading

0 comments on commit bb0dbb5

Please sign in to comment.