Skip to content

Conversation

@clubby789
Copy link

Closes #130

I still get

[ScriptingProvider] [sync] set debugger dialect to gdb, enabling hotkeys
[ScriptingProvider] [sync] bp failed, remote base of None program unknown
[ScriptingProvider] [sync] client quit

when trying to place a breakpoint - not sure if this is to do with my changes, other errors or if I'm just using the plugin wrong.

@saidelike
Copy link
Collaborator

Hi @clubby789, have you been been able to successfully use ret-sync with BinaryNinja and your changes at the end?

@tGecko
Copy link

tGecko commented Oct 3, 2025

Can't get it working with this PR in BN 5.1.8104-stable

[ScriptingProvider] Exception in thread Thread-4:
[ScriptingProvider] Traceback (most recent call last):
[ScriptingProvider]   File "C:\Users\CG\AppData\Roaming\Binary Ninja\plugins\retsync\sync.py", line 360, in run
[ScriptingProvider]     self.plugin.reset_client()
[ScriptingProvider]   File "C:\Users\CG\AppData\Roaming\Binary Ninja\plugins\retsync\sync.py", line 535, in reset_client
[ScriptingProvider]     self.widget.reset_client()
[ScriptingProvider] AttributeError: 'NoneType' object has no attribute 'reset_client'
[ScriptingProvider] During handling of the above exception, another exception occurred:
[ScriptingProvider] Traceback (most recent call last):
[ScriptingProvider]   File "threading.py", line 1016, in _bootstrap_inner
[ScriptingProvider]   File "C:\Users\CG\AppData\Roaming\Binary Ninja\plugins\retsync\sync.py", line 366, in run
[ScriptingProvider]     self.plugin.cmd_syncoff()
[ScriptingProvider]   File "C:\Users\CG\AppData\Roaming\Binary Ninja\plugins\retsync\sync.py", line 786, in cmd_syncoff
[ScriptingProvider]     self.widget.reset_status()
[ScriptingProvider] AttributeError: 'NoneType' object has no attribute 'reset_status'

@tGecko
Copy link

tGecko commented Oct 3, 2025

fix_widget_null_reference_errors.txt

This changes are needed to make it work again in BN 5.1.8104-stable

@saidelike
Copy link
Collaborator

Thanks @tGecko. Could you test the updated PR please? If it works as expected, I will merge it in the master branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BinaryNinja extension not compatible with BinaryNinja >= 4.3 due to deprecated DockHandler API

3 participants