xhan
xhan

Reputation: 6287

Prevent execute-file from dump function name by using `strings` and `class-dump`

I am writing a security app in c++. And when I run strings app.name I found there are many method name appear on the result.

Is there any way to hidden these method names? (I can change these function names manually, but I just wonder are there some flags can be added to compiler to hidden these names easily).

Upvotes: 1

Views: 108

Answers (1)

Mark B
Mark B

Reputation: 96291

Security through obscurity can still be overcome, but you could always strip your binary to remove all the debugging symbols and information.

Upvotes: 0

Related Questions