de en es fr nl pl pt sv zh

llvm

Adventures in Open-Source: the lit profraw race

abm-77

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....

dumping llvm bitcode from cicc

redp

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...

read a couple of books about compilers

redp

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...

LLVM Obfuscator

Logan

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...

LLVM Bugpoint

Logan

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,...