bump uv.lock and pyproject.toml (#3294)

* bump uv.lock and pyproject.toml

* fix mypy

* fix asm riscv

* fix asm riscv

* revert to ziglang=0.14.1
pull/3301/head
patryk4815 3 months ago committed by GitHub
parent b4d1af06d7
commit 985a599b08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -193,7 +193,7 @@ def get_containing_sections(elf_filepath: str, elf_loadaddr: int, vaddr: int):
sections = []
for sec in elf.sections:
# disregard sections not occupying memory
if sec["sh_flags"] & SH_FLAGS.SHF_ALLOC == 0:
if sec["sh_flags"] & SH_FLAGS.SHF_ALLOC == 0: # type: ignore[operator]
continue
# disregard sections that do not contain vaddr
if vaddr < sec["sh_addr"] or vaddr >= sec["x_addr_mem_end"]: # type: ignore[operator]

@ -3,29 +3,29 @@ name = "pwndbg"
version = "2025.05.30"
description = "Exploit Development and Reverse Engineering with GDB Made Easy"
authors = [{ name = "Dominik 'disconnect3d' Czarnota", email = "dominik.b.czarnota+dc@gmail.com" }]
requires-python = "~=3.10"
requires-python = ">=3.10, <4"
readme = "README.md"
dependencies = [
"capstone==6.0.0a5",
"unicorn>=2.1.4,<3",
"pwntools>=4.14.0,<5",
"pwntools>=4.14.1,<5",
"sortedcontainers>=2.4.0,<3",
"tabulate>=0.9.0,<0.10",
"typing-extensions>=4.12.0,<5",
"pycparser~=2.22",
"pyelftools>=0.29,<0.30",
"pygments>=2.18.0,<3",
"typing-extensions>=4.15.0,<5",
"pycparser~=2.23",
"pyelftools>=0.32,<0.33",
"pygments>=2.19.2,<3",
"psutil>=7.0.0,<8",
# We install uv to the venv
"uv>=0.7.6",
"uv>=0.8.14",
# Optional? only for 'ipi' command
"ipython>=8.27.0,<9",
"ipython>=8.37.0,<9",
# Optional? only for 'ropgadget' command
"ropgadget==7.3",
"ropgadget==7.6",
# Optional? only for 'ai' commands
"requests>=2.32.3,<3",
"requests>=2.32.5,<3",
# Optional? only for pretty print traceback
"rich>=13.7.1,<14",
"rich>=14.1.0,<15",
# Optional? only for qemu-system vmmap
"pt",
# Optional? 'ziglang' must be optional, as it is not available on every platform.
@ -36,7 +36,7 @@ dependencies = [
[project.optional-dependencies]
lldb = [
# The LLDB REPL requires readline.
'gnureadline>=8.2.10,<9; sys_platform != "win32"',
'gnureadline>=8.2.13,<9; sys_platform != "win32"',
'pyreadline3>=3.5.4,<4; sys_platform == "win32"',
"lldb-for-pwndbg==20.1.8.post1",
]
@ -46,9 +46,9 @@ gdb = [
[dependency-groups]
dev = [
"sortedcontainers-stubs>=2.4.2,<3",
"types-pygments>=2.17.0.20240310,<3",
"types-requests>=2.31.0.20240406,<3",
"sortedcontainers-stubs>=2.4.3,<3",
"types-pygments>=2.19.0.20250809,<3",
"types-requests>=2.32.4.20250809,<3",
"types-tabulate>=0.9.0.20240106,<0.10",
"types-gdb>=12.1.4.20240704,<13",
"types-psutil>=7.0.0.20250601,<8",

@ -20,6 +20,9 @@ RISCV64_GRACEFUL_EXIT = """
li a7, 93
li a0, 0
ecall
nop
nop
nop
"""
RISCV64_JALR = f"""
@ -364,7 +367,7 @@ def test_riscv64_jump_chain(qemu_assembly_run):
" 0x1001166 <end+2> addi a7, zero, 0x5d A7 => 0x5d (0x0 + 0x5d)\n"
" 0x100116a <end+6> c.li a0, 0 A0 => 0\n"
" 0x100116c <end+8> ecall <SYS_exit>\n"
" 0x1001170 c.li s0, 0x10 S0 => 0x10\n"
" 0x1001170 <end+12> c.nop \n"
"────────────────────────────────────────────────────────────────────────────────\n"
)

1310
uv.lock

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save