Book a Demo

Author Topic: Rev. Engineering CPP  (Read 2334 times)

thomaskilian

  • Guest
Rev. Engineering CPP
« on: January 24, 2006, 01:27:40 pm »
Hi there,
I recently started to reverse a bunch of CPP sources (yes - more or less for the first time). The parser took only about 60  percent or so as valid sources and claimed invalid syntax for the rest. Is this normal behaviour or am I doing something wrong?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Rev. Engineering CPP
« Reply #1 on: January 24, 2006, 01:40:00 pm »
My guess is that you've got macro troubles.

You need to let EA know what macros are used in the code you're importing so that it can skip over them.  Look at where EA reported the error (and a little before) for macros.  Add them into the list at Settings | Preprocessor macros and try importing again.

If there are no macros being used it's possible that you're project is reguarly using some obscure syntax that hasn't been run through the parser.  A small code snippet or two from the problem areas is probably all we would need to fix it.

thomaskilian

  • Guest
Re: Rev. Engineering CPP
« Reply #2 on: January 25, 2006, 12:15:21 am »
That might be the solution. Thanks for the hint, Simon.

Edit: That was the solution :)
« Last Edit: January 25, 2006, 01:54:41 am by thomaskilian »