bump 2025.04.18, fix `vis` command and aliases (#2897)

* bump 2025.04.18

* add aliases to command "vis" and hide autocompletion for replaced commands
pull/2899/head
patryk4815 8 months ago committed by GitHub
parent 75debdef36
commit a0a626bfdb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -153,53 +153,53 @@ Download the portable version from the [Pwndbg releases page](https://github.com
Make sure to select the correct file for your operating system and architecture: Make sure to select the correct file for your operating system and architecture:
- **Linux (x86_64, armv7l, aarch64, riscv64):** - **Linux (x86_64, armv7l, aarch64, riscv64):**
- `pwndbg_2025.04.13_amd64.tar.xz` (x86_64 for GDB) - `pwndbg_2025.04.18_amd64.tar.xz` (x86_64 for GDB)
- `pwndbg_2025.04.13_armv7.tar.xz` (armv7l for GDB) - `pwndbg_2025.04.18_armv7.tar.xz` (armv7l for GDB)
- `pwndbg_2025.04.13_arm64.tar.xz` (aarch64 for GDB) - `pwndbg_2025.04.18_arm64.tar.xz` (aarch64 for GDB)
- `pwndbg_2025.04.13_riscv64.tar.xz` (riscv64 for GDB) - `pwndbg_2025.04.18_riscv64.tar.xz` (riscv64 for GDB)
- `pwndbg-lldb_2025.04.13_amd64.tar.xz` (x86_64 for LLDB) - `pwndbg-lldb_2025.04.18_amd64.tar.xz` (x86_64 for LLDB)
- `pwndbg-lldb_2025.04.13_armv7.tar.xz` (armv7l for LLDB) - `pwndbg-lldb_2025.04.18_armv7.tar.xz` (armv7l for LLDB)
- `pwndbg-lldb_2025.04.13_arm64.tar.xz` (aarch64 for LLDB) - `pwndbg-lldb_2025.04.18_arm64.tar.xz` (aarch64 for LLDB)
- `pwndbg-lldb_2025.04.13_riscv64.tar.xz` (riscv64 for LLDB) - `pwndbg-lldb_2025.04.18_riscv64.tar.xz` (riscv64 for LLDB)
- **macOS (amd64, arm64):** - **macOS (amd64, arm64):**
- `pwndbg-lldb_2025.04.13_macos_amd64.tar.xz` (macOS, Intel/AMD CPUs, for LLDB) - `pwndbg-lldb_2025.04.18_macos_amd64.tar.xz` (macOS, Intel/AMD CPUs, for LLDB)
- `pwndbg-lldb_2025.04.13_macos_arm64.tar.xz` (macOS, Apple Silicon/M1/M2/M*, for LLDB) - `pwndbg-lldb_2025.04.18_macos_arm64.tar.xz` (macOS, Apple Silicon/M1/M2/M*, for LLDB)
- `pwndbg_2025.04.13_macos_amd64.tar.xz` (macOS, Intel/AMD CPUs for GDB) - `pwndbg_2025.04.18_macos_amd64.tar.xz` (macOS, Intel/AMD CPUs for GDB)
- `pwndbg_2025.04.13_macos_amd64.tar.xz` (macOS, Apple Silicon/M1/M2/M*, for GDB via **Rosseta emulation**) - `pwndbg_2025.04.18_macos_amd64.tar.xz` (macOS, Apple Silicon/M1/M2/M*, for GDB via **Rosseta emulation**)
#### Instructions: #### Instructions:
- Portable tarball: - Portable tarball:
```shell ```shell
tar -v -xf ./pwndbg_2025.04.13_amd64.tar.xz tar -v -xf ./pwndbg_2025.04.18_amd64.tar.xz
# ./pwndbg/bin/pwndbg # ./pwndbg/bin/pwndbg
# or ./pwndbg/bin/pwndbg-lldb # or ./pwndbg/bin/pwndbg-lldb
``` ```
- Installation on RPM-based Systems (CentOS/Alma/Rocky/RHEL): - Installation on RPM-based Systems (CentOS/Alma/Rocky/RHEL):
```shell ```shell
dnf install ./pwndbg-2025.04.13.x86_64.rpm dnf install ./pwndbg-2025.04.18.x86_64.rpm
# pwndbg # pwndbg
# and/or pwndbg-lldb # and/or pwndbg-lldb
``` ```
- Installation on DEB-based Systems (Debian/Ubuntu/Kali): - Installation on DEB-based Systems (Debian/Ubuntu/Kali):
```shell ```shell
apt install ./pwndbg_2025.04.13_amd64.deb apt install ./pwndbg_2025.04.18_amd64.deb
# pwndbg # pwndbg
# and/or pwndbg-lldb # and/or pwndbg-lldb
``` ```
- Installation on Alpine: - Installation on Alpine:
```shell ```shell
apk add --allow-untrusted ./pwndbg_2025.04.13_x86_64.apk apk add --allow-untrusted ./pwndbg_2025.04.18_x86_64.apk
# pwndbg # pwndbg
# and/or pwndbg-lldb # and/or pwndbg-lldb
``` ```
- Installation on Arch Linux: - Installation on Arch Linux:
```shell ```shell
pacman -U ./pwndbg-2025.04.13-1-x86_64.pkg.tar.zst pacman -U ./pwndbg-2025.04.18-1-x86_64.pkg.tar.zst
# pwndbg # pwndbg
# and/or pwndbg-lldb # and/or pwndbg-lldb
``` ```

@ -38,7 +38,7 @@ if [ -n "$missing" ]; then
exit 1 exit 1
fi fi
VERSION="2025.04.13" VERSION="2025.04.18"
TYPE="" TYPE=""
ROOTLESS=false ROOTLESS=false

@ -53,34 +53,34 @@ Choose the appropriate version for your system architecture (x86_64, armv7l, aar
### Installation on RPM-based Systems (CentOS/Alma/Rocky/RHEL): ### Installation on RPM-based Systems (CentOS/Alma/Rocky/RHEL):
```shell ```shell
dnf install ./pwndbg-2025.04.13.x86_64.rpm dnf install ./pwndbg-2025.04.18.x86_64.rpm
# pwndbg # pwndbg
``` ```
### Installation on DEB-based Systems (Debian/Ubuntu/Kali): ### Installation on DEB-based Systems (Debian/Ubuntu/Kali):
```shell ```shell
apt install ./pwndbg_2025.04.13_amd64.deb apt install ./pwndbg_2025.04.18_amd64.deb
# pwndbg # pwndbg
``` ```
### Installation on Alpine: ### Installation on Alpine:
```shell ```shell
apk add --allow-untrusted ./pwndbg_2025.04.13_x86_64.apk apk add --allow-untrusted ./pwndbg_2025.04.18_x86_64.apk
# pwndbg # pwndbg
``` ```
### Installation on Arch Linux: ### Installation on Arch Linux:
```shell ```shell
pacman -U ./pwndbg-2025.04.13-1-x86_64.pkg.tar.zst pacman -U ./pwndbg-2025.04.18-1-x86_64.pkg.tar.zst
# pwndbg # pwndbg
``` ```
### Generic Linux Installation: ### Generic Linux Installation:
```shell ```shell
tar -v -xf ./pwndbg_2025.04.13_amd64.tar.xz tar -v -xf ./pwndbg_2025.04.18_amd64.tar.xz
# ./pwndbg/bin/pwndbg # ./pwndbg/bin/pwndbg
``` ```

@ -989,7 +989,7 @@ group.add_argument(
) )
@pwndbg.commands.ArgparsedCommand(parser, category=CommandCategory.PTMALLOC2) @pwndbg.commands.ArgparsedCommand(parser, aliases=["vis"], category=CommandCategory.PTMALLOC2)
@pwndbg.commands.OnlyWithResolvedHeapSyms @pwndbg.commands.OnlyWithResolvedHeapSyms
@pwndbg.commands.OnlyWhenHeapIsInitialized @pwndbg.commands.OnlyWhenHeapIsInitialized
@pwndbg.commands.OnlyWhenUserspace @pwndbg.commands.OnlyWhenUserspace

@ -1337,7 +1337,6 @@ class GDB(pwndbg.dbg_mod.Debugger):
# See https://github.com/pwndbg/pwndbg/issues/2890#issuecomment-2813047212 # See https://github.com/pwndbg/pwndbg/issues/2890#issuecomment-2813047212
# Note: Remove this in a late 2025 or 2026 release? # Note: Remove this in a late 2025 or 2026 release?
for deprecated_cmd in ( for deprecated_cmd in (
"dev_dump_instruction",
"vmmap_add", "vmmap_add",
"vmmap_clear", "vmmap_clear",
"vmmap_load", "vmmap_load",
@ -1365,11 +1364,10 @@ class GDB(pwndbg.dbg_mod.Debugger):
"jemalloc_extent_info", "jemalloc_extent_info",
"jemalloc_find_extent", "jemalloc_find_extent",
"jemalloc_heap", "jemalloc_heap",
"reinit_pwndbg",
): ):
fixed_cmd = deprecated_cmd.replace("_", "-") fixed_cmd = deprecated_cmd.replace("_", "-")
gdb.execute( gdb.execute(
f"alias {deprecated_cmd} = echo Use `{fixed_cmd}` instead (Pwndbg changed `_` to `-` in command names)\\n" f"alias -a {deprecated_cmd} = echo Use `{fixed_cmd}` instead (Pwndbg changed `_` to `-` in command names)\\n"
) )
# This may throw an exception, see pwndbg/pwndbg#27 # This may throw an exception, see pwndbg/pwndbg#27

@ -27,7 +27,7 @@ def build_id() -> str:
return "" return ""
__version__ = "2025.04.13" __version__ = "2025.04.18"
b_id = build_id() b_id = build_id()

@ -1,6 +1,6 @@
[project] [project]
name = "pwndbg" name = "pwndbg"
version = "2025.04.13" version = "2025.04.18"
description = "Exploit Development and Reverse Engineering with GDB Made Easy" description = "Exploit Development and Reverse Engineering with GDB Made Easy"
authors = [{ name = "Dominik 'disconnect3d' Czarnota", email = "dominik.b.czarnota+dc@gmail.com" }] authors = [{ name = "Dominik 'disconnect3d' Czarnota", email = "dominik.b.czarnota+dc@gmail.com" }]
requires-python = "~=3.10" requires-python = "~=3.10"

@ -1190,7 +1190,7 @@ wheels = [
[[package]] [[package]]
name = "pwndbg" name = "pwndbg"
version = "2025.4.13" version = "2025.4.18"
source = { editable = "." } source = { editable = "." }
dependencies = [ dependencies = [
{ name = "capstone" }, { name = "capstone" },

Loading…
Cancel
Save