Comment by πŸš€ stack

Re: "Obfuscating C"

In: u/LucasMW

As a bonus, try to use similar-looking unpronounceable symbols and make sure to use same names for locals, globals, and function names, as much as possible

Mixing I and 1, and O and 0 is good. Or use Unicode look-alike glyphs

Or better yet just post some junk code and really confuse them, whoever they are

πŸš€ stack

2025-05-07 Β· 1 year ago

3 Later Comments ↓

πŸ‘» darkghost Β· 2025-05-07 at 23:02:

Isn't abuse of goto making the worst spaghetti code possible another form of obfuscation? Combined with similar looking labels like above.

πŸš€ stack Β· 2025-05-08 at 00:59:

Automatically create a slew of loops and conditionals using bullshit variables initialized elsewhere, in such a way that they will get optimized out.

πŸ™ norayr Β· 2025-05-13 at 20:36:

β€” isn't c code obfuscated enough already?

Original Post

πŸš€ LucasMW

Obfuscating C β€” I am working on a code obfuscator. Basically the idea is to rename every symbol in the program to another name, thus destroyng information. The idea is also customization of the generated names according to wordlists and rulesets (for example, one pokΓ©mon themed) I already have some kind of proof of concept: For example, this small program: [preformatted] I wish there was some shortcuts. Does anyone knows an easy way of given a source file, to extract a list of all variable...

πŸ’¬ 18 comments Β· 1 like Β· 2025-05-06 Β· 1 year ago Β· #coding #programming #software