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

Feature/calling conv systemv #515

merged 7 commits into from Apr 6, 2017


Copy link

@commial 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 has been added, for the common usage: "Call this function with this parameters".

@commial commial force-pushed the feature/calling-conv-systemv branch from 9417cf3 to 4111648 Compare April 5, 2017 15:15
@commial commial force-pushed the feature/calling-conv-systemv branch from 4111648 to b535f6e Compare April 6, 2017 12:27
@serpilliere serpilliere merged commit 049abdc into cea-sec:master Apr 6, 2017
@commial commial deleted the feature/calling-conv-systemv branch April 6, 2017 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants