From f7e4e6379dcd8e3e372bb0c5e45fa9226b485eb8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 16 Oct 2026 03:52:27 +0000 Subject: [PATCH 1/2] build(deps): bump mako from 1.4.1 to 1.4.2 Bumps [mako](https://github.com/sqlalchemy/mako) from 1.4.1 to 1.4.2. - [Release notes](https://github.com/sqlalchemy/mako/releases) - [Changelog](https://github.com/sqlalchemy/mako/blob/main/CHANGES) - [Commits](https://github.com/sqlalchemy/mako/commits) --- updated-dependencies: - dependency-name: mako dependency-version: 1.4.2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- poetry.lock | 10 +++++----- pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/poetry.lock b/poetry.lock index 661dbe3..a665d59 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.4.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.5.1 and should not be changed by hand. [[package]] name = "bandit" @@ -473,14 +473,14 @@ files = [ [[package]] name = "mako" -version = "1.4.1" +version = "1.4.2" description = "A super-fast templating language that borrows the best ideas from the existing templating languages." optional = false python-versions = ">=3.10" groups = ["main"] files = [ - {file = "mako-1.4.1-py3-none-any.whl", hash = "sha256:a359d9a94a541213958742b2698d0a7757bb83551767bc468a74b9905aba9617"}, - {file = "mako-1.4.1.tar.gz", hash = "sha256:d7904710b662996425a21627710c4777c45053146942cf8a7aebf757c92b8c27"}, + {file = "mako-1.4.2-py3-none-any.whl", hash = "sha256:e70a2a4308952b33a21208bfd6725da79fae5a8c224578f8cfdeb60e5ace03df"}, + {file = "mako-1.4.2.tar.gz", hash = "sha256:7227a060ee3af55a493af61d73d6beef13044b81dba9586736c13945f09464ce"}, ] [package.dependencies] @@ -1302,4 +1302,4 @@ dev = ["bandit", "black", "bumpver", "pre-commit", "pytest", "pyupgrade", "ruff" [metadata] lock-version = "2.1" python-versions = ">=3.10,<4.0" -content-hash = "475a756479a1e65c792ba6db90321384df674104e2b68b0f9acf7c37b1ca0246" +content-hash = "b9d21d0225b6115e6970117ad5d21f189cc2d9c1a5541f2fe54a2d78b533ebdb" diff --git a/pyproject.toml b/pyproject.toml index 6002ee0..78043f6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,7 @@ keywords=[ dependencies = [ "construct>=2.10.70", - "mako>=1.3.3", + "mako>=1.4.2", "sqlalchemy>=2.0.29", "rich>=14.2", "numpy>=2.2.5", From 51fb8cf9c77de1a73c2dbb94d29170e8872894cb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 16 Oct 2026 03:52:48 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .idea/objutils@1.iml | 2 +- objutils/dwarf/__init__.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.idea/objutils@1.iml b/.idea/objutils@1.iml index 8e33d7d..6276174 100644 --- a/.idea/objutils@1.iml +++ b/.idea/objutils@1.iml @@ -8,4 +8,4 @@ - \ No newline at end of file + diff --git a/objutils/dwarf/__init__.py b/objutils/dwarf/__init__.py index 96e7e72..7b708e2 100644 --- a/objutils/dwarf/__init__.py +++ b/objutils/dwarf/__init__.py @@ -639,7 +639,6 @@ class DwarfProcessor: Earlier or later DWARF versions may not parse correctly. """ - UTF8String = CString(encoding="utf8") def __init__(self, elf_parser, *, verbose: bool = True): @@ -1112,7 +1111,7 @@ def _normalize_raw_value(value: Any) -> Any: debug_abbrev_offset = dbgInfo.body.debug_abbrev_offset address_size = dbgInfo.body.address_size else: - if version > 5: # Handle messed up version numbers in some binaries (e.g. 39424) + if version > 5: # Handle messed up version numbers in some binaries (e.g. 39424) address_size = self.elf_address_size else: address_size = dbgInfo.body.address_size