AnsweredAssumed Answered

Access to a symbol size in the automation API

Question asked by msonet on Mar 9, 2012
Latest reply on Mar 12, 2012 by fvpetrov

Hi,

 

I am using the symbol __argv_string to write my program arguments before starting it.

With the automation API, I can get an ADspSymbol object for this symbol that gives me its address, name and memory type but not its size.

 

I would like to be able to detect in my script the allocated size for this symbol to avoid an overrun when my input argument string is too long.

Is there a mean to get the size of a symbol with the automation API ?

 

Best regards,

Mathieu

Outcomes