Book a Demo

Author Topic: Reverse Engineering Existing C++ code  (Read 2785 times)

ajaxx

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Reverse Engineering Existing C++ code
« on: October 01, 2004, 12:21:38 pm »
Hello, I'm a fairly new user to this product, but we ran into an issue when trying to reverse engineer an existing product.  The product uses multiple lines for each variables and doxygen comments.  As a result, the importer only imports the first variable to a method.  Let me give you an example.

   /*!
       \brief Common channel output queue operation.
       \return @a ASF_RETURN_SUCCESS if message was enqueued successfully
   */
   ASF_RETURN _enqueueOutputMessage(
       ACE_Message_Block *pMb,     //!< [in] message block to enqueue
       bool expedite,              //!< [in] @true if this message is to be placed at the head of the queue instead of the tail.
       u_long messageContext = 0   //!< [in] application supplied message context
       );

The class entry that was created from this included the operations, but only supplied the parameter pMb.  Is this a well known problem?  And is the problem the multiple lines or the comments?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Reverse Engineering Existing C++ code
« Reply #1 on: October 03, 2004, 10:06:39 pm »
The problem is the comments, and it's a well known problem.

The fix is on its way, but no guarantees of how quickly it will be available.