Skip to content

Commit 4ae20c7

Browse files
committed
Fix __str__ in BasicBlockBinExport
1 parent a911ab3 commit 4ae20c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/binexport/basic_block.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def __hash__(self) -> int:
6262
return hash(self.addr)
6363

6464
def __str__(self) -> str:
65-
return "\n".join(str(i) for i in self.values())
65+
return "\n".join(str(i) for i in self.instructions.values())
6666

6767
def __repr__(self) -> str:
6868
return "<%s:0x%x>" % (type(self).__name__, self.addr)

0 commit comments

Comments
 (0)