hilda 2.0.4__tar.gz → 2.0.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. {hilda-2.0.4 → hilda-2.0.5}/PKG-INFO +1 -1
  2. {hilda-2.0.4 → hilda-2.0.5}/hilda/_version.py +2 -2
  3. {hilda-2.0.4 → hilda-2.0.5}/hilda/hilda_client.py +4 -5
  4. {hilda-2.0.4 → hilda-2.0.5}/hilda/ipython_extensions/events.py +1 -1
  5. {hilda-2.0.4 → hilda-2.0.5}/hilda.egg-info/PKG-INFO +1 -1
  6. {hilda-2.0.4 → hilda-2.0.5}/.github/workflows/python-app.yml +0 -0
  7. {hilda-2.0.4 → hilda-2.0.5}/.github/workflows/python-publish.yml +0 -0
  8. {hilda-2.0.4 → hilda-2.0.5}/.gitignore +0 -0
  9. {hilda-2.0.4 → hilda-2.0.5}/.pre-commit-config.yaml +0 -0
  10. {hilda-2.0.4 → hilda-2.0.5}/LICENSE +0 -0
  11. {hilda-2.0.4 → hilda-2.0.5}/README.md +0 -0
  12. {hilda-2.0.4 → hilda-2.0.5}/gifs/.gitattributes +0 -0
  13. {hilda-2.0.4 → hilda-2.0.5}/gifs/ui.png +0 -0
  14. {hilda-2.0.4 → hilda-2.0.5}/gifs/xpc_print_message.gif +0 -0
  15. {hilda-2.0.4 → hilda-2.0.5}/hilda/__init__.py +0 -0
  16. {hilda-2.0.4 → hilda-2.0.5}/hilda/__main__.py +0 -0
  17. {hilda-2.0.4 → hilda-2.0.5}/hilda/cli.py +0 -0
  18. {hilda-2.0.4 → hilda-2.0.5}/hilda/common.py +0 -0
  19. {hilda-2.0.4 → hilda-2.0.5}/hilda/exceptions.py +0 -0
  20. {hilda-2.0.4 → hilda-2.0.5}/hilda/hilda_ascii_art.html +0 -0
  21. {hilda-2.0.4 → hilda-2.0.5}/hilda/ipython_extensions/keybindings.py +0 -0
  22. {hilda-2.0.4 → hilda-2.0.5}/hilda/ipython_extensions/magics.py +0 -0
  23. {hilda-2.0.4 → hilda-2.0.5}/hilda/launch_lldb.py +0 -0
  24. {hilda-2.0.4 → hilda-2.0.5}/hilda/lldb_entrypoint.py +0 -0
  25. {hilda-2.0.4 → hilda-2.0.5}/hilda/lldb_importer.py +0 -0
  26. {hilda-2.0.4 → hilda-2.0.5}/hilda/objective_c/from_ns_to_json.m +0 -0
  27. {hilda-2.0.4 → hilda-2.0.5}/hilda/objective_c/get_objectivec_class_by_module.m +0 -0
  28. {hilda-2.0.4 → hilda-2.0.5}/hilda/objective_c/get_objectivec_class_description.m +0 -0
  29. {hilda-2.0.4 → hilda-2.0.5}/hilda/objective_c/get_objectivec_symbol_data.m +0 -0
  30. {hilda-2.0.4 → hilda-2.0.5}/hilda/objective_c/lsof.m +0 -0
  31. {hilda-2.0.4 → hilda-2.0.5}/hilda/objective_c/to_ns_from_json.m +0 -0
  32. {hilda-2.0.4 → hilda-2.0.5}/hilda/objective_c_class.py +0 -0
  33. {hilda-2.0.4 → hilda-2.0.5}/hilda/objective_c_symbol.py +0 -0
  34. {hilda-2.0.4 → hilda-2.0.5}/hilda/registers.py +0 -0
  35. {hilda-2.0.4 → hilda-2.0.5}/hilda/snippets/__init__.py +0 -0
  36. {hilda-2.0.4 → hilda-2.0.5}/hilda/snippets/boringssl.py +0 -0
  37. {hilda-2.0.4 → hilda-2.0.5}/hilda/snippets/collections.py +0 -0
  38. {hilda-2.0.4 → hilda-2.0.5}/hilda/snippets/dyld.py +0 -0
  39. {hilda-2.0.4 → hilda-2.0.5}/hilda/snippets/fs_utils.py +0 -0
  40. {hilda-2.0.4 → hilda-2.0.5}/hilda/snippets/mach/CFRunLoopServiceMachPort_hooks.py +0 -0
  41. {hilda-2.0.4 → hilda-2.0.5}/hilda/snippets/mach/__init__.py +0 -0
  42. {hilda-2.0.4 → hilda-2.0.5}/hilda/snippets/macho/__init__.py +0 -0
  43. {hilda-2.0.4 → hilda-2.0.5}/hilda/snippets/macho/all_image_infos.py +0 -0
  44. {hilda-2.0.4 → hilda-2.0.5}/hilda/snippets/macho/apple_version.py +0 -0
  45. {hilda-2.0.4 → hilda-2.0.5}/hilda/snippets/macho/image_info.py +0 -0
  46. {hilda-2.0.4 → hilda-2.0.5}/hilda/snippets/macho/macho.py +0 -0
  47. {hilda-2.0.4 → hilda-2.0.5}/hilda/snippets/macho/macho_load_commands.py +0 -0
  48. {hilda-2.0.4 → hilda-2.0.5}/hilda/snippets/remotepairingd.py +0 -0
  49. {hilda-2.0.4 → hilda-2.0.5}/hilda/snippets/syslog.py +0 -0
  50. {hilda-2.0.4 → hilda-2.0.5}/hilda/snippets/uuid.py +0 -0
  51. {hilda-2.0.4 → hilda-2.0.5}/hilda/snippets/xpc.py +0 -0
  52. {hilda-2.0.4 → hilda-2.0.5}/hilda/symbol.py +0 -0
  53. {hilda-2.0.4 → hilda-2.0.5}/hilda/symbols_jar.py +0 -0
  54. {hilda-2.0.4 → hilda-2.0.5}/hilda/ui/colors.json +0 -0
  55. {hilda-2.0.4 → hilda-2.0.5}/hilda/ui/ui_manager.py +0 -0
  56. {hilda-2.0.4 → hilda-2.0.5}/hilda/ui/views.py +0 -0
  57. {hilda-2.0.4 → hilda-2.0.5}/hilda.egg-info/SOURCES.txt +0 -0
  58. {hilda-2.0.4 → hilda-2.0.5}/hilda.egg-info/dependency_links.txt +0 -0
  59. {hilda-2.0.4 → hilda-2.0.5}/hilda.egg-info/entry_points.txt +0 -0
  60. {hilda-2.0.4 → hilda-2.0.5}/hilda.egg-info/requires.txt +0 -0
  61. {hilda-2.0.4 → hilda-2.0.5}/hilda.egg-info/top_level.txt +0 -0
  62. {hilda-2.0.4 → hilda-2.0.5}/pyproject.toml +0 -0
  63. {hilda-2.0.4 → hilda-2.0.5}/requirements.txt +0 -0
  64. {hilda-2.0.4 → hilda-2.0.5}/setup.cfg +0 -0
  65. {hilda-2.0.4 → hilda-2.0.5}/tests/__init__.py +0 -0
  66. {hilda-2.0.4 → hilda-2.0.5}/tests/conftest.py +0 -0
  67. {hilda-2.0.4 → hilda-2.0.5}/tests/test_hilda_client/test_from_ns.py +0 -0
  68. {hilda-2.0.4 → hilda-2.0.5}/tests/test_hilda_client/test_hilda_client.py +0 -0
  69. {hilda-2.0.4 → hilda-2.0.5}/tests/test_hilda_client/test_monitor.py +0 -0
  70. {hilda-2.0.4 → hilda-2.0.5}/tests/test_hilda_client/test_ns.py +0 -0
  71. {hilda-2.0.4 → hilda-2.0.5}/tests/test_hilda_client/test_rebind_symbols.py +0 -0
  72. {hilda-2.0.4 → hilda-2.0.5}/tests/test_hilda_client/test_registers.py +0 -0
  73. {hilda-2.0.4 → hilda-2.0.5}/tests/test_snippets/test_xpc.py +0 -0
  74. {hilda-2.0.4 → hilda-2.0.5}/tests/test_symbols/test_objective_c_class.py +0 -0
  75. {hilda-2.0.4 → hilda-2.0.5}/tests/test_symbols/test_objective_c_symbol.py +0 -0
  76. {hilda-2.0.4 → hilda-2.0.5}/tests/test_symbols/test_symbol.py +0 -0
  77. {hilda-2.0.4 → hilda-2.0.5}/tests/test_symbols/test_symbols_jar.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hilda
3
- Version: 2.0.4
3
+ Version: 2.0.5
4
4
  Summary: LLDB wrapped and empowered by iPython's features
5
5
  Author-email: doronz88 <doron88@gmail.com>, matan <matan1008@gmail.com>, netanel cohen <netanelc305@protonmail.com>
6
6
  Maintainer-email: doronz88 <doron88@gmail.com>, matan <matan1008@gmail.com>, netanel cohen <netanelc305@protonmail.com>
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '2.0.4'
16
- __version_tuple__ = version_tuple = (2, 0, 4)
15
+ __version__ = version = '2.0.5'
16
+ __version_tuple__ = version_tuple = (2, 0, 5)
@@ -142,6 +142,7 @@ class HildaClient:
142
142
  self.configs = Configs()
143
143
  self._dynamic_env_loaded = False
144
144
  self._symbols_loaded = False
145
+ self.globals: typing.MutableMapping[str, Any] = globals()
145
146
 
146
147
  # the frame called within the context of the hit BP
147
148
  self._bp_frame = None
@@ -1060,8 +1061,7 @@ class HildaClient:
1060
1061
  ipython_config.InteractiveShellApp.exec_files = startup_files
1061
1062
  self.log_debug(f'Startup files - {startup_files}')
1062
1063
 
1063
- namespace = globals()
1064
- namespace.update(locals())
1064
+ namespace = self.globals
1065
1065
  namespace['p'] = self
1066
1066
  namespace['ui'] = self.ui_manager
1067
1067
  namespace['cfg'] = self.configs
@@ -1076,11 +1076,10 @@ class HildaClient:
1076
1076
  def __exit__(self, exc_type, exc_val, exc_tb) -> None:
1077
1077
  self.detach()
1078
1078
 
1079
- @staticmethod
1080
- def _add_global(name: str, value: Any, reserved_names=None):
1079
+ def _add_global(self, name: str, value: Any, reserved_names=None) -> None:
1081
1080
  if reserved_names is None or name not in reserved_names:
1082
1081
  # don't override existing symbols
1083
- globals()[name] = value
1082
+ self.globals[name] = value
1084
1083
 
1085
1084
  @staticmethod
1086
1085
  def _get_saved_state_filename():
@@ -26,7 +26,7 @@ class HIEvents:
26
26
  # we are only interested in names
27
27
  continue
28
28
 
29
- if node.id in locals() or node.id in globals() or node.id in dir(builtins):
29
+ if node.id in locals() or node.id in self.hilda_client.globals or node.id in dir(builtins):
30
30
  # That are undefined
31
31
  continue
32
32
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hilda
3
- Version: 2.0.4
3
+ Version: 2.0.5
4
4
  Summary: LLDB wrapped and empowered by iPython's features
5
5
  Author-email: doronz88 <doron88@gmail.com>, matan <matan1008@gmail.com>, netanel cohen <netanelc305@protonmail.com>
6
6
  Maintainer-email: doronz88 <doron88@gmail.com>, matan <matan1008@gmail.com>, netanel cohen <netanelc305@protonmail.com>
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes