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

Feature/calling conv systemv #515

Merged
merged 7 commits into from Apr 6, 2017

Conversation

Projects
None yet
2 participants
@commial
Member

commial commented Apr 5, 2017

Introduce a "naive" SystemV calling convention in jitters.
With it, linux stubs now uses the SystemV convention, as referenced in #321, #355.

In addition, a stub for libc_start_main has been added. As a consequence, one can now runs linux binary from their very beginning, with support for argument and environment variables in Sandbox (using the --mimic-env option, because the stack layout has to looks like the one coming from the loader).

Finally, a new API Sandbox.call has been added, for the common usage: "Call this function with this parameters".

@commial commial force-pushed the commial:feature/calling-conv-systemv branch from 9417cf3 to 4111648 Apr 5, 2017

@commial commial force-pushed the commial:feature/calling-conv-systemv branch from 4111648 to b535f6e Apr 6, 2017

@serpilliere serpilliere merged commit 049abdc into cea-sec:master Apr 6, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@commial commial deleted the commial:feature/calling-conv-systemv branch Apr 6, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment