Book a Demo

Author Topic: Reverse Engineering C++ Dependencies  (Read 3316 times)

johnmc

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Reverse Engineering C++ Dependencies
« on: September 11, 2009, 12:02:24 am »
I have not thoroughly tested reverse engineering of C++, but it appears to work much better than competing products. One feature I find important is the correct discovery of dependencies between classes.

As far as I can tell, dependencies are not inferred from function bodies. I.e. in the following code, Class1 will not be shown to be dependant on Class2, even though it is:

Code: [Select]
class Class2
{
  static void doSomethingElseStatic() {}
  void doSomethingElse() {}
};

class Class1
{
  void doSomething()
  {
    Class2::doSomethingElseStatic();
    Class2 c2;
    c2.doSomethingElse();
  }
};


Is there something I am doing wrong? Can this be fixed/added?

Thanks,
John

johnmc

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Reverse Engineering C++ Dependencies
« Reply #1 on: September 14, 2009, 08:39:29 pm »
I received a response from my bug report - EA does not support the parsing of method bodies and therefore this feature cannot be added at this time. They did say that they have added a feature request, but they cannot confirm if/when it will be implemented.

Jim Beck

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Reverse Engineering C++ Dependencies
« Reply #2 on: April 24, 2010, 06:33:45 am »
Thank you for posting.  We have been trying today to figure out how to get EA to bring in function bodies when reverse engineering.  It seems like a very essential part of reverse engineering.  I too will be making a feature request.  Thanks again for making this clear.

Jim