| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent bfbe4db commit b446c0e
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -108,21 +108,13 @@ def generate_tokens(self, results): | |||
| 108 | 108 | yield (Text, ' ') | |
| 109 | 109 | ||
| 110 | 110 | # ASCII representation | |
| 111 | - ascii_array = [] | ||
| 112 | 111 | yield (Punctuation, '| ') | |
| 113 | 112 | for i, x in enumerate(six.iterbytes(chunk)): | |
| 114 | 113 | token = String.Char | |
| 115 | 114 | if self.args.track and self.last_memory and self.last_address == m_res.address: | |
| 116 | 115 | if x != six.indexbytes(self.last_memory, c + i): | |
| 117 | 116 | 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 '.')) | ||
| 126 | 118 | yield (Punctuation, ' | ') | |
| 127 | 119 | ||
| 128 | 120 | # Deref chain | |
| Back | FazBrowse Home | New Git URL |
0 commit comments