IntroThis is the start of an ongoing mini-series where I document contributions I make to open source projects. These aren't tutorials; I won't be teaching background theory. Instead, I want to walk through the process: how I identified the issue, designed a fix, and went through code review....
method 1requires building of hijacked .so with appropriate LLVM version. I am too lazy for this method 2cool, but does not work - cicc claims on bad arguments. I've tried many combinations with no luck But hey - we are under linux and can make many hacks, for example check what arguments genuine...
LLVM Compiler for RISC-V ArchitectureDescribes details of risc-v vectorization support in llvm. It should be noted that the implementation of vector operations in risc-v was done later than in Intel and sve in arm64 - they took into account many flaws (like made explicit masks for vector...
Code coverage is a metric to show the code being untested. It can be considered as a hint to add more test cases. When we are writing C/C++, the most notable code coverage testing tool is gcov, which is a GCC built-in coverage testing tool. Besides, we can collect the results and generate...
I came across the LLVM obfuscator today. It is a code obfuscator working mostly on LLVM IR level. This means that most LLVM supported target platforms are supported by the LLVM obfuscator as well. Also, I have also read an article which mentioned how to disassemble and deobfuscate the binaries...
In this post, I would like to introduce the bugpoint command line tool. This is a automatic test case reduction tool which can help us generate minimal test case. As a compiler developer, the first step to debug is to create a minimal test case which can still reproduce the bug. Unfortunately,...