Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rhelmot authored and twizmwazin committed Sep 12, 2023
1 parent 746d8fb commit 45cd9ce
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pyvex/arches.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@


class PyvexArch:
"""
An architecture definition for use with pyvex - usable version.
"""

def __init__(self, name: str, bits: int, memory_endness: str):
self.name = name
self.bits = bits
Expand Down Expand Up @@ -52,7 +56,7 @@ def __repr__(self):
def vex_name_small(self):
return self.vex_arch[7:].lower()

def translate_register_name(self, offset, size=None):
def translate_register_name(self, offset, size=None): # pylint: disable=unused-argument
for (arch, reg), offset2 in guest_offsets.items():
if arch == self.vex_name_small and offset2 == offset:
return reg
Expand Down

0 comments on commit 45cd9ce

Please sign in to comment.