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

Enable pyrit to compile and run better on non-x86 machines #487

Merged
merged 2 commits into from
May 28, 2016

Conversation

leitao
Copy link
Contributor

@leitao leitao commented May 25, 2016

Pyrit is currently broken on non-x86 machines. It does even compile. These patches enable pyrit to build and run on non x86, as Power and ARM architecture.

This is the problem I am facing when compiling it on non-x86:

powerpc64le-linux-gnu-gcc: error: unrecognized command line option ‘-maes’
powerpc64le-linux-gnu-gcc: error: unrecognized command line option ‘-mpclmul’

This PR closes issue #488.

leitao added 2 commits May 25, 2016 13:38
Currently pyrit is not able to compile in non-x86 platforms due to the fact
that instrinsic x86 parameters are being called, as -maes and  -mpclmul.
These days, even when pyrit is running on a non x86 CPU, it shows the platform
as x86.

I just changed that to read the value from the getauxval(3) and print it, other
than the hard coded x86.
@JPaulMora JPaulMora merged commit c606316 into JPaulMora:master May 28, 2016
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