C object code file shows string values in plain text -
i use gcc (on ubuntu) compile c program had few string values don't want end user know. strings used in authentication , passcode file path / passcode etc. when compile program object file has these string values in readable (text) format. there other machine readable characters these strings present in file. expected ? there way tell compiler not print values plain text. thought of having strings encrypted within program, looks on engineering.
...but these strings present in file. expected ?
yes, expected. string literals saved in executable. , can see tham all. example, gnu strings
prints printable character sequences @ least 4 characters long...