Add string print support for variables.

This commit is contained in:
Jacques Wagener 2019-03-08 01:21:05 +02:00
parent a475eee9aa
commit 0de46e8ded
No known key found for this signature in database
GPG Key ID: C294D1025DA0E923
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ def parse_local(stdout, local_variables, computation, line):
start_position = var_info['position']
value = computation.memory_read(start_position, 32)
print_var(stdout, value, local_type)
elif local_type.startswith('bytes'):
elif local_type.startswith('bytes') or local_type.startswith('string'):
start_position = var_info['position']
byte_len = big_endian_to_int(computation.memory_read(start_position, 32))
if byte_len == 0: