FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

ascii not affected by word view · CodingEverySolution/voltron@b446c0e · GitHub

Commit b446c0e

Browse files
Devin
committed
ascii not affected by word view
1 parent bfbe4db commit b446c0e

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

‎voltron/plugins/view/memory.py‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -108,21 +108,13 @@ def generate_tokens(self, results):
108108
yield (Text, ' ')
109109

110110
# ASCII representation
111-
ascii_array = []
112111
yield (Punctuation, '| ')
113112
for i, x in enumerate(six.iterbytes(chunk)):
114113
token = String.Char
115114
if self.args.track and self.last_memory and self.last_address == m_res.address:
116115
if x != six.indexbytes(self.last_memory, c + i):
117116
token = Error
118-
ascii_array.append((token, ((x <= 127 and self.printable_filter[x]) or '.')))
119-
120-
if self.args.words:
121-
for x in reversed(ascii_array):
122-
yield x
123-
else:
124-
for x in ascii_array:
125-
yield x
117+
yield (token, ((x <= 127 and self.printable_filter[x]) or '.'))
126118
yield (Punctuation, ' | ')
127119

128120
# Deref chain

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL