I am reversing a program with IDA Pro, but for some reason it cannot recognize a function inside the text section.

Can someone show me how to reformat the codes (in the figure) as a function?



You should be able to go to encrypt_String and press P

  • and if it doesn't work you should see an error message in the Output window, probably with the understandable reason why. – w s Nov 17 '16 at 21:35
  • .text:026AFB5C: The function has undefined instruction/data at the specified address. Your request has been put in the autoanalysis queue. ??? i do not understand ? nothing happened later – SieuTruc Nov 18 '16 at 19:24
  • 1
    @SieuTruc It looks like that IDA didn't recognize the data at this address (0x026AFB5C) as code . Save the database for backup and go to this address, and press <kbd>U</kbd> to undefine whatever it is there and then <kbd>C</kbd> , which will convert this data to code. After that press <kbd>P</kbd> on the start of the function again. – w s Nov 20 '16 at 8:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.