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

last refactor PR of 2018 🎉🎉🎉 #227

Merged
merged 10 commits into from
Jan 1, 2019
Merged

Conversation

adrianherrera
Copy link
Member

Refactoring to support S2E/guest-images#19 and trailofbits/deepstate#155

Summary:

  • Added new Target class for abstracting over analysis targets (+ tests)
  • More fixes to make external/custom projects easier to work with
  • Stricter Jinja templates (and fixes for associated errors)

@adrianherrera
Copy link
Member Author

Ah interesting, it appears I've broken something. Jenkins ftw

@adrianherrera adrianherrera force-pushed the improvement/refactoring branch from a5b232d to 22d02c0 Compare December 31, 2018 09:39
Copy link
Member

@vitalych vitalych left a comment

Choose a reason for hiding this comment

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

LGTM, fix the jenkins errors.

@adrianherrera adrianherrera force-pushed the improvement/refactoring branch 4 times, most recently from 99dfefc to e248060 Compare January 1, 2019 08:27
Added Target class to encapsulate an S2E analysis target. This makes testing
and custom projects much easier to handle
Name and module are more suitable
library.lua is not a Jinja template and there is nothing to render. Moved it to
dat and added a helper method to copy it to a given project directory (useful
for custom projects).
This makes it harder to set logging programmatically. Setting the log level via
the S2E config file was largely redundant due to the S2EENV_LOG_LEVEL
environment variable.
Useful for custom projects outside of the s2e-env module.
@adrianherrera adrianherrera force-pushed the improvement/refactoring branch from e248060 to 66a4758 Compare January 1, 2019 08:32
@adrianherrera adrianherrera merged commit ef5bd8f into master Jan 1, 2019
@adrianherrera adrianherrera deleted the improvement/refactoring branch January 1, 2019 08:37
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