(arg)
| 51 | return var.encode("utf-8") |
| 52 | |
| 53 | def pyNativeStr(arg): |
| 54 | if isinstance(arg, str): |
| 55 | return arg |
| 56 | else: |
| 57 | return arg.decode('utf8') |
| 58 | |
| 59 | def free_string(value:ctypes.c_char_p) -> None: |
| 60 | BNDebuggerFreeString(ctypes.cast(value, ctypes.POINTER(ctypes.c_byte))) |
nothing calls this directly
no outgoing calls
no test coverage detected