I saw in a comment that using __func__ is a security risk. I need to understand how is that the case?
I saw in a comment that using __func__ is a security risk. I need
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Using
__func__reveals the function name in the binary, which ease the work of an attacker that has an access to the binary.