| #--- magritte.in | |
| command script import magritte | |
| #--- magritte.py | |
| import lldb | |
| def magritte(debugger, command, result, internal_dict): | |
| print("Ceci n'est pas une pipe") | |
| def __lldb_init_module(debugger, internal_dict): | |
| debugger.HandleCommand('command script add -f magritte.magritte magritte') | |
| #--- zip.in | |
| command script import -c zip | |
| #--- zip.py | |
| import lldb | |
| def zip(debugger, command, result, internal_dict): | |
| print("95126") | |
| def __lldb_init_module(debugger, internal_dict): | |
| debugger.HandleCommand('command script add -f zip.zip zip') |