Skip to content

Add the ability to dump memory and vads for binaries.#4

Open
iantbutler01 wants to merge 2 commits into
moyix:masterfrom
iantbutler01:itb-2019-ressurection
Open

Add the ability to dump memory and vads for binaries.#4
iantbutler01 wants to merge 2 commits into
moyix:masterfrom
iantbutler01:itb-2019-ressurection

Conversation

@iantbutler01

Copy link
Copy Markdown

Hey professor, I expect you to have some questions about things I am doing here let me know and I can make changes. I intend to add a markdown file in the next day explaining my steps for getting this up and running as well as the additional code I have here.

Comment thread scripts/runmal.py

# All done, write the stamp
stampfile = os.path.join(logdir, 'stamps', run_id)
stampfile = os.path.join(logdir, 'stamps', sample_name)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the idea behind these changes? IIRC, run_id was intended to be a UUID, whereas sample_name was the filename of the sample. I had been trying to use run_id everywhere because we may want to run the same sample more than once. (But I may be misremembering the purpose of these variables)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right for the purpose of dumping the memory and finding the process in the list of dumped vads later on having the name was pretty important. One solution here would be to add a cli argument for naming scheme type so that either are available. What do you think?

@moyix moyix Jun 3, 2019

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, right now the UUID to filename map is put into an sqlite database so it can be retrieved later for things like matching the VADs. Would that work here?

@moyix

moyix commented May 20, 2019

Copy link
Copy Markdown
Owner

This looks pretty good, modulo one comment about run_id vs sample_name that I left inline. One other thing – could you add a note somewhere saying that you've removed the GUI support for clicking on buttons in the UI?

@iantbutler01

Copy link
Copy Markdown
Author

Sure can, will get to this shortly

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

Successfully merging this pull request may close these issues.

2 participants