List details for all loaded modules in the minidump. An argument can be passed to limit the output to only those modules that contain the argument as a substring (case insensitive match).
(self, arg)
| 4024 | return self.do_list_modules(arg) |
| 4025 | |
| 4026 | def do_list_modules(self, arg): |
| 4027 | """ |
| 4028 | List details for all loaded modules in the minidump. |
| 4029 | |
| 4030 | An argument can be passed to limit the output to only those modules that |
| 4031 | contain the argument as a substring (case insensitive match). |
| 4032 | """ |
| 4033 | for module in self.reader.module_list.modules: |
| 4034 | if arg: |
| 4035 | name = GetModuleName(self.reader, module).lower() |
| 4036 | if name.find(arg.lower()) >= 0: |
| 4037 | PrintModuleDetails(self.reader, module) |
| 4038 | else: |
| 4039 | PrintModuleDetails(self.reader, module) |
| 4040 | print() |
| 4041 | |
| 4042 | def do_s(self, word): |
| 4043 | """ see search """ |
no test coverage detected