-
Notifications
You must be signed in to change notification settings - Fork 169
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
illegal hardware instruction #6
Comments
Hello. Try this implementation with pthread.h https://gist.github.com/Eugnis/3ba3f048988e7be76737ab87da64bb26 |
Thank you, this one works. I don't know if the result is good though, I mean the message isn't recovered, so that's good but now I wonder why.
|
Try to change the Btw, Intel(R) Pentium(R) Dual CPU E2180 can be not affected. It's not present in Intel affected CPUs list |
I tried with several different values and it produced some chars instead of '?' but I was not able to get original message, I'll try later to run it in some kind of loop which would change threshold automatically. Maybe core2 isn't affected but AFAIK all cpu's are affected by Spectre. Meltdown :
Spectre :
https://www.windowscentral.com/all-modern-processors-impacted-new-meltdown-and-spectre-exploits |
Here is alternative patch for machines which do not have rdtscp instruction and crash on illegal hardware instruction:
rdtsc is used also by meltdown attack example. |
Your patch have some problems to apply but simply replacing Edit: Actually it doesn't always work, I mean program runs but I only once got the original message, other times I got random chars. |
Make sure you handle CRLF and LF correctly.
Do not forget for |
With btw meltdown attack example works fine on core2 cpu's. |
On my Core2Quad's i dont get letters from the stored string. |
Getting error running this in linux on dual core cpu :
The text was updated successfully, but these errors were encountered: