tantan的博客

Notes, ideas, and observations

#概述

LLVM is a Static Single Assignment (SSA) based representation that provides type safety, low-level operations, flexibility, and the capability of representing ‘all’ high-level languages cleanly

#基本使用

  1. 修改程序源码,在合适的地方插入符号值

#编译项目,插桩

1
2
3
4
5
6
7
8
9
#!/bin/sh
set -e

export CC=afl-clang-fast
export CXX=afl-clang-fast++

./configure --enable-shared=no --enable-static=yes
make -j 32

#成为 CA!

1
2
3
4
5
# Generate private key
openssl genrsa -des3 -out myCA.key 2048
# Generate root certificate
openssl req -x509 -new -nodes -key myCA.key -sha256 -days 825 -out myCA.pem \
-subj "/C=CN/ST=Shanghai/L=Shanghai/O=/OU=/CN=My first CA"

#What’s it

2013年,Google开源的,用于词向量计算的工具

0%