How to redefine symbol names in objects with RVCT?

Posted by Batuu on Stack Overflow See other posts from Stack Overflow or by Batuu
Published on 2013-11-11T08:29:01Z Indexed on 2013/11/11 9:55 UTC
Read the original article Hit count: 252

Filed under:
|
|
|

I currently develop a small OS for an embedded platform based on a ARM Cortex-M3 microcontroller. The OS provides an API for customer application development. The OS kernel and the API is compiled into a static lib by the ARMCC compiler and customer can link his application against it.

The lib and the containing object files offer the complete list of symbols used in kernel. To "protect" the kernel and its inner states from extern hooking into obvious variables and functions, I would like to do some easy obfuscation by renaming the symbols randomly.

The GNU binutils seems to do this by calling objcopy with the --redefine-sym flag. The GNU binutils cannot read the ARMCC / RVCT objects. Is there any solution to do this kind of obfuscation with RVCT?

© Stack Overflow or respective owner

Related posts about c

    Related posts about obfuscation