(function, address)
| 86 | |
| 87 | |
| 88 | def instruction_data_flow(function, address): |
| 89 | # TODO: Extract data flow information |
| 90 | length = function.view.get_instruction_length(address) |
| 91 | func_bytes = function.view.read(address, length) |
| 92 | hex = func_bytes.hex() |
| 93 | padded = ' '.join([hex[i:i + 2] for i in range(0, len(hex), 2)]) |
| 94 | return f'Opcode: {padded}' |
| 95 | |
| 96 | def rgbStr(tokenType): |
| 97 | '''Given a token string name, look up the theme color for it and return as rbg(x,y,z) str''' |
no test coverage detected