Chapter 15 Working with IDL


IDL reverse engineering limitations

There are some limitations on the use of the reverse IDL feature in this version. Some of the missing functions are intentionally documented to give you a correct insight of the situation.

Pre-processing

The pre-processing function in IDL is not handled in this version. It has the following effect, as shown in the example below:

When a # symbol appears at the beginning of a line, the reverse feature processes both "if" and "else" values during reverse.

# IF

   true

# ELSE

   false

# ENDIF

Unsupported tags

The following tags are not reversed in this version:

An example is shown below:

struct bar {
    fixed <8, 4> high_scale;
    fixed <8, 2> low_scale;
};

struct bar {
    long val;
    sequence <short, 4> my_shorts;
};

typedef sequence<LinkKind>LinkKinds;
typedef [wire_marshal( wireVARIANT )]  struct tagVARIANT  VARIANT;

 


Copyright (C) 2005. Sybase Inc. All rights reserved.