diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2019-09-22 19:32:18 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2019-09-22 22:02:51 +0200 |
| commit | 523507835ed6789a9489120023b539f6ae82eb18 (patch) | |
| tree | 84a479a7ab6324f651d406226aef72afca89f7c9 /example/symbol_exec | |
| parent | 1902c27e796277ab495afe3d39bf17d882eda062 (diff) | |
| download | miasm-523507835ed6789a9489120023b539f6ae82eb18.tar.gz miasm-523507835ed6789a9489120023b539f6ae82eb18.zip | |
Fix get_str_ansi: return str
get_str_ansi and get_str_unic now returns both *str* object: As get_str_unic decodes the string, get_str_ansi should do the same.
Diffstat (limited to 'example/symbol_exec')
| -rw-r--r-- | example/symbol_exec/dse_crackme.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/symbol_exec/dse_crackme.py b/example/symbol_exec/dse_crackme.py index 90774dc3..be9f4490 100644 --- a/example/symbol_exec/dse_crackme.py +++ b/example/symbol_exec/dse_crackme.py @@ -280,7 +280,7 @@ while todo: sb.run() except FinishOn as finish_info: print(finish_info.string) - if finish_info.string == b"OK": + if finish_info.string == "OK": # Stop if the expected result is found found = True break |