comsec-group / blacksmith

Next-gen Rowhammer fuzzer that uses non-uniform, frequency-based patterns.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blacksmith run hangs and log shows strange characters

JKRde opened this issue · comments

commented

Hi

I installed blacksmith on a i3-8350k (Coffee-Lake-S) System. Unfortunately the test hangs after a while and the stdout.log shows some strange characters.
Does anyone have an idea what could be the reason of this?

BR
JKR
stdout_2022_02_04_hangs.log

Hi @JKRde
It is very hard to say what could be the reason for that. The "weird characters" you see are control sequences for formatting the stdout logfile. If you open the file with less -r stdout.log, you will see the colors in the log. To debug the issue I would recommend you to run Blacksmith with gdb and see where it hangs as the stdout logging is too coarse-grained to derive anything useful.

In any case, you will also need to adapt the DRAM addressing functions to trigger any bit flips otherwise Blacksmith won't be able to properly address aggressor rows, see this post for details.

Best regards
Patrick

commented

Hello Patrik,

thank you very much for the quick and helpful answer. Opening with "less -r stdout.log" worked fine.
I already suspected that I have to adjust the DRAM addressing functions. I still have a question, which I will ask in the other post.

Thanks for your help.
Best regards
Jens