Beak is a small tool that can be used to lose weight of your source code, and generate obfuscated C and C++ source code by default. It was originally developed to reduce binary size of software used in embedded system but has an expected result made it became to a security tool that can hide symbol names in your software. All user defined symbols can be hidden and replaced by very short tokens results that the compiled final binary will be smaller than its normal compiling. The symbol names includes namespace, class name, function definitions etc. Beak is very small and the obfuscator itself was written with ANSI C (C89) from scratch, cross-platform, operation system and processor independent.
Here, minimising the compiled size of SQLite as an example:
SQLite version: 3.20.1
Executable: 64-bit x86_64
Platform: macOS Sierra
|Version||Source size||Complied size||Note|
|1||9.3 MB||1.4 MB||original version, shell executable without TCL extension.|
|2||1.7 MB||741 KB||with C API wrapper, without TCL extension, without FTS, rtree, rbu, icu, session.|
|3||1.6 MB||651 KB||optimised version by Beak, with full functional features, C API wrapper plus compressed BLOB, and SEE (SQLite Encryption Extension) support.|
Excellent software should be elegant, reliable and small. Especially, building small software is very important for deeply-embedded systems. Lovingly crafting software as elegant and small as possible is the real programmer's cultivation.
If you can't open the link above, please launch App Store and found Beak by searching.
If you need to support a new programming language, please contact us.