-
Notifications
You must be signed in to change notification settings - Fork 24
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
IACA analysis fails due to pointer_increment #71
Comments
It also fails with this code:
|
you can resolve this by manually providing the pointer increment via |
@sguera Have you tried the latest kerncraft version? Did it solve the problem? If not, could you provide the generated assembly file for debugging purposes. |
I just tried for both the codes. I still get the same error with the latest kerncraft. |
It is not en error, you can always set the pointer increment manually: for the 2D-5pt-variable code use I will try to tweak the heuristics to also handle the codes you provided, but there will always be cases where it fails an the loop or pointer increment needs to be manually given. |
I understand.. the problem is when we want to use it automatically on all the bouquet of stencils that can be generated through STEMPEL (generate each possible combination + for each code kerncraft analysis + for each code run through PROVA! and then validate) |
For me to understand how to do it (even if not automatically), can you explain or give me a reference in how to identify the correct pointer increment (and then manually specify it? |
You need to identify the loop in the assembly code. |
The two cases you provided are now recognized automatically, but as said before: there will always be situations where the heuristic fails. |
When running:
I get:
Content of stencil.c:
The text was updated successfully, but these errors were encountered: