Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binary Ninja hangs for 10+ seconds when running command !process 0 0 in kernel debugging #532

Open
xusheng6 opened this issue Jan 26, 2024 · 1 comment

Comments

@xusheng6
Copy link
Member

In Windows kernel debugging, when I run the command !process 0 0 , the Binary Ninja UI will appear to hang for ten or more seconds, then all output lines will be dumped to the debugger console. However, if I run this in the WinDbg UI, lines will be dumped one-by-one, and its main UI does not hang. Though the overall processing time is similar (this command takes a long while to finish)

This is NOT a simple main thread congestion. There is something different in the threading model of binja's use of dbgeng and dbgeng's own assumption/expectations. Though I am not quite sure what is happening

@xusheng6
Copy link
Member Author

xusheng6 commented Aug 1, 2024

Related to #591, the hang is because the command is executed on the main thread and it blocks until all of the output is dumped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant