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

straggler remote gui-bugs (EASY, Before 5/15/22) #525

Merged

Conversation

atlas0fd00m
Copy link
Contributor

somehow missed these in the gui components, but got them in VivWorkspace.
someday when we wrap in GUI unittests...

rakuy0 and others added 30 commits October 17, 2021 22:47
and bugfix for clicking EFLAGS gui buttons.
…e... updates to follow (for easy diffing between commits)
… class and revamp "lockStepEmulator" when we're done)
# Conflicts:
#	envi/tests/test_memmap.py
…tually catches norets using the fmcb_Thunk() analysis hook.

bugfix: redo how pointers are incremented
cleanup coloration of NORET
# Conflicts:
#	vivisect/tests/testvivisect.py
@atlas0fd00m atlas0fd00m changed the title straggler remote gui-bugs straggler remote gui-bugs (EASY, Before 5/15/22) May 12, 2022
@atlas0fd00m atlas0fd00m requested a review from rakuy0 May 13, 2022 17:35
…e GUI starts. we need to be able to expect each workspace has a GUID, unless it's a fresh workspace.

paradigm going forward:  GUID gets assigned on the first "vw.loadFrom*" or when calling "vw.getVivGuid()".
this allows us to not create a GUID if we don't want one (ie. when loading a remote workspace, or when we are just messing around).  what we're trying to avoid is multiple GUIDs in the event stream.  currently, with remote workspaces we have a race condition which causes a new GUID to be generated each time we connect... and Bulk analysis doesn't actually assign one.

with this fix:

```
In [1]: metaevts = [(i,evt) for i,evt in enumerate(vw._event_list) if evt[0] == 24 and evt[1][0]=='GUID'];  metaevts
Out[1]: [(61618, (24, ('GUID', '8b499ddc551a86ef04091f56160d9f72')))]

In [2]: vw.getVivGuid()
Out[2]: '8b499ddc551a86ef04091f56160d9f72'

```
@atlas0fd00m
Copy link
Contributor Author

i'm telling you, you want to approve this sooner than later.... ;)

vivisect/tests/testvivisect.py Outdated Show resolved Hide resolved
vivisect/qt/main.py Outdated Show resolved Hide resolved
vivisect/qt/main.py Show resolved Hide resolved
vivisect/qt/main.py Show resolved Hide resolved
vivisect/__init__.py Show resolved Hide resolved
@atlas0fd00m atlas0fd00m requested a review from rakuy0 May 17, 2022 11:28
@atlas0fd00m atlas0fd00m merged commit bbb8072 into vivisect:master May 23, 2022
@atlas0fd00m atlas0fd00m deleted the last_few_gui_bugs_related_to_remote branch May 23, 2022 15:42
@rakuy0 rakuy0 added this to the v1.1.0 milestone Feb 11, 2023
@rakuy0 rakuy0 added the bug label Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants