Skip to content

Commit a680b01

Browse files
authored
Merge branch 'main' into vmmap_filter_perms
2 parents 3d8378c + ee605f9 commit a680b01

28 files changed

Lines changed: 696 additions & 517 deletions

.github/workflows/coverage.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI Coverage for PR
1+
name: Coverage
22

33
on:
44
pull_request_target:
@@ -14,16 +14,18 @@ jobs:
1414
coverage:
1515
env:
1616
PY_VER: ''
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-24.04
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v4
2121
- name: Setup
2222
run: |
23-
sudo apt-get -qq update
24-
sudo apt-get -qq install -y gdb-multiarch python3-dev python3-pip python3-wheel python3-setuptools git cmake gcc g++ pkg-config libglib2.0-dev gdbserver qemu-user curl
25-
sudo python3 -m pip install --upgrade pip --quiet
26-
- name: Run test coverage
23+
export NEEDRESTART_MODE=n
24+
sudo apt-get update -qq
25+
sudo apt-get install -qq -y gdb-multiarch python3-dev python3-pip python3-wheel python3-setuptools git cmake gcc g++ pkg-config libglib2.0-dev gdbserver qemu-user curl
26+
sudo apt-get install -y python3-full
27+
28+
- name: Run coverage
2729
id: get_coverage
2830
env:
2931
ALLOWED_MARGIN: 0.01
@@ -41,7 +43,7 @@ jobs:
4143
echo "current_score=${current_score}" >> $GITHUB_OUTPUT
4244
echo "score_diff=${score_diff}" >> $GITHUB_OUTPUT
4345
44-
- name: Post comment
46+
- name: Post results
4547
uses: actions/github-script@v7
4648
with:
4749
script: |
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Extended Tests
2+
3+
4+
on:
5+
workflow_dispatch:
6+
7+
jobs:
8+
build:
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
variants:
13+
- { os: fedora, version: 41 }
14+
- { os: debian, version: bookworm }
15+
- { os: archlinux, version: base }
16+
17+
name: "Tests on ${{ matrix.variants }}"
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- uses: actions/checkout@v4
22+
- run: |
23+
docker run -v ${PWD}:/gef ${{ matrix.variants.os }}:${{ matrix.variants.version }} "bash /gef/tests/extended/${{ matrix.variants.os }}.sh"

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ debug.log
1414
htmlcov
1515
.benchmarks
1616
site/
17+
untracked/

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2013-2024 crazy rabbidz
3+
Copyright (c) 2013-2025 crazy rabbidz
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ try to reach out for help on the Discord channel or submit an issue.
7575

7676
| Documentation |License | Compatibility | CI Tests (`main`) |
7777
|:---:|:---:|:---|--|
78-
| [![Documentation](https://github.com/hugsy/gef/actions/workflows/generate-docs.yml/badge.svg)](https://github.com/hugsy/gef/actions/workflows/generate-docs.yml) | [![MIT](https://img.shields.io/packagist/l/doctrine/orm.svg?maxAge=2592000?style=plastic)](https://github.com/hugsy/gef/blob/main/LICENSE) | [![Python 3](https://img.shields.io/badge/Python-3-green.svg)](https://github.com/hugsy/gef/) | [![CI Test for GEF](https://github.com/hugsy/gef/actions/workflows/run-tests.yml/badge.svg)](https://github.com/hugsy/gef/actions/workflows/run-tests.yml) |
78+
| [![Documentation](https://github.com/hugsy/gef/actions/workflows/generate-docs.yml/badge.svg)](https://github.com/hugsy/gef/actions/workflows/generate-docs.yml) | [![MIT](https://img.shields.io/packagist/l/doctrine/orm.svg?maxAge=2592000?style=plastic)](https://github.com/hugsy/gef/blob/main/LICENSE) | [![Python 3](https://img.shields.io/badge/Python-3-green.svg)](https://github.com/hugsy/gef/) | [![CI Test for GEF](https://github.com/hugsy/gef/actions/workflows/tests.yml/badge.svg)](https://github.com/hugsy/gef/actions/workflows/tests.yml) |
7979

8080
## Contribute
8181

docs/api/gef.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ register_architecture(
11561156
```
11571157

11581158
`register_architecture` is **DEPRECATED** and will be removed in the future.
1159-
Using the decorator `register_architecture` is unecessary
1159+
Using the decorator `register_architecture` is unnecessary
11601160

11611161

11621162
---
@@ -7576,7 +7576,7 @@ usage() → None
75767576
---
75777577

75787578
## <kbd>class</kbd> `GefTmuxSetup`
7579-
Setup a confortable tmux debugging environment.
7579+
Setup a comfortable tmux debugging environment.
75807580

75817581
<a href="https://cs.github.com/hugsy/gef?q=GefTmuxSetup.__init__"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
75827582

docs/commands/config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ gef➤ gef config pcustom.struct_path
1919
```
2020

2121
Of course you can edit the values. For example, if you want the screen to be cleared before
22-
displaying the current context when reaching a breakpoing:
22+
displaying the current context when reaching a breakpoint:
2323

2424
```text
2525
gef➤ gef config context.clear_screen 1

docs/commands/dereference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The `dereference` command (also aliased `telescope` for PEDA former users) aims to simplify the
44
dereferencing of an address in GDB to determine the content it actually points to.
55

6-
It is a useful convienence function to spare to process of manually tracking values with successive
6+
It is a useful convenience function to spare to process of manually tracking values with successive
77
`x/x` in GDB.
88

99
`dereference` takes three optional arguments, a start address (or symbol or register, etc) to

docs/commands/gef-remote.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[`target remote`](https://sourceware.org/gdb/onlinedocs/gdb/Remote-Debugging.html#Remote-Debugging)
44
is the traditional GDB way of debugging process or system remotely. However this command by itself
5-
does a limited job (80's bandwith FTW) to collect more information about the target, making the
5+
does a limited job (80's bandwidth FTW) to collect more information about the target, making the
66
process of debugging more cumbersome. GEF greatly improves that state with the `gef-remote` command.
77

88
📝 **Note**: If using GEF, `gef-remote` **must** be your way or debugging remote processes, never

docs/commands/gef.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,5 +141,5 @@ different branch through the `gef.default_branch` configuration setting:
141141
gef➤ gef config gef.default_branch my_other_branch
142142
```
143143

144-
The files will be dowloaded in the path configured in the `gef.extra_plugins_dir` setting, allowing
144+
The files will be downloaded in the path configured in the `gef.extra_plugins_dir` setting, allowing
145145
to reload it easily without having to re-download.

0 commit comments

Comments
 (0)