You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
garble/internal/literals
pagran d47e0761eb
Prevent automated plaintext extraction of literals with current tools (#930)
Some programs which could automatically reverse string literals obfuscated with `-literals` exist.

They currently work by emulating the string literal decryption functions we insert.

We prevent this naive emulation from succeeding by making the decryption functions dependent on global state.

This can still be broken with enough effort, we are curious which approach reverse-engineers come up with next, we certainly still have some ideas to make this harder.

Fixes #926
---------

Co-authored-by: Paul Scheduikat <lu4p@pm.me>
4 months ago
..
fuzz_test.go Prevent automated plaintext extraction of literals with current tools (#930) 4 months ago
literals.go Prevent automated plaintext extraction of literals with current tools (#930) 4 months ago
obfuscators.go Prevent automated plaintext extraction of literals with current tools (#930) 4 months ago
proxy.go Prevent automated plaintext extraction of literals with current tools (#930) 4 months ago
random_testing.go internal/literals: add benchmark to measure the run-time overhead 3 years ago
seed.go Prevent automated plaintext extraction of literals with current tools (#930) 4 months ago
shuffle.go Prevent automated plaintext extraction of literals with current tools (#930) 4 months ago
simple.go Prevent automated plaintext extraction of literals with current tools (#930) 4 months ago
split.go Prevent automated plaintext extraction of literals with current tools (#930) 4 months ago
swap.go Prevent automated plaintext extraction of literals with current tools (#930) 4 months ago