Displaying 5 results from an estimated 5 matches for "speculativeloadharden".
2019 Sep 16
2
Spectre V1 Mitigation - Internals?
Hi all,
I understand how the speculative information flow attack works. I'm trying
get my head around the spectre v1 mitigation of LLVM.
In the design document here :
https://llvm.org/docs/SpeculativeLoadHardening.html#speculative-load-hardening.
<https://llvm.org/docs/SpeculativeLoadHardening.html#speculative-load-hardening>
Example:
void leak(int data);void example(int* pointer1, int* pointer2) {
if (condition)
leak(*pointer1);
else
leak(*pointer2);}
After the applying the mitigatio...
2019 Sep 17
2
Spectre V1 Mitigation - Internals?
...<
> llvm-dev at lists.llvm.org> wrote:
>
>> Hi all,
>>
>> I understand how the speculative information flow attack works. I'm
>> trying get my head around the spectre v1 mitigation of LLVM.
>> In the design document here :
>> https://llvm.org/docs/SpeculativeLoadHardening.html#speculative-load-hardening.
>> <https://llvm.org/docs/SpeculativeLoadHardening.html#speculative-load-hardening>
>>
>> Example:
>>
>> void leak(int data);void example(int* pointer1, int* pointer2) {
>> if (condition)
>> leak(*pointer1);
&...
2019 Sep 17
2
Spectre V1 Mitigation - Internals?
...>
>>>> Hi all,
>>>>
>>>> I understand how the speculative information flow attack works. I'm
>>>> trying get my head around the spectre v1 mitigation of LLVM.
>>>> In the design document here :
>>>> https://llvm.org/docs/SpeculativeLoadHardening.html#speculative-load-hardening.
>>>> <https://llvm.org/docs/SpeculativeLoadHardening.html#speculative-load-hardening>
>>>>
>>>> Example:
>>>>
>>>> void leak(int data);void example(int* pointer1, int* pointer2) {
>>>>...
2020 Apr 23
3
[cfe-dev] More verbose -mspeculative-load-hardening
...ooked into using the LLVM_DEBUG macro? You can use it to print
> where you want from the SLH pass.
> Check it out here:
> https://llvm.org/docs/ProgrammersManual.html#the-llvm-debug-macro-and-debug-option You'll
> have to add it where you want to see what SLH is doing in the
> X86SpeculativeLoadHardening.cpp file and rebuild from source to get the new
> error messages.
>
> Another useful thing for you might be to pass either of these to clang
> when you enable -mspeculative-load-hardening
>
> - -mllvm -print-after-all
> - -mllvm -print-after="x86-slh"
>
&g...
2020 Apr 22
3
[cfe-dev] More verbose -mspeculative-load-hardening
Hi
I think llvm-dev list (CC'ed) have more visibility in this.
On Wed, 22 Apr 2020 at 22:18, milsegv via cfe-dev <cfe-dev at lists.llvm.org>
wrote:
> Hello everyone,
>
> It may not be the best place to ask this but I found nothing on the
> internet about it.
> I'm working on Spectre V1 detection and stumbled upon the mitigation
> provided by clang, the