Skip to content

How to force BN to render freshly-defined variables from python #3414

Answered by psifertex
mostobriv asked this question in Q&A
Discussion options

You must be logged in to vote

RE: 2) can you screenshot what you mean when you say the selection doesn't match? Do you mean the offset and bytes in the bottom-right don't match what you actually have selected?

RE: 1) you may need to trigger update_analysis_and_wait. The scripting console and snippets do this for you automatically but plugins do not since it's not necessarily obvious that all scripts should immediately trigger analysis so it's not forced on any plugin. However, there is a known visual issue where sometimes after making changes you have to navigate the UI to get it freshed and we don't have a known fix for it at this time beyond just moving or hitting space twice to make the view refresh.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mostobriv
Comment options

@psifertex
Comment options

Answer selected by psifertex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants