Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTsnifMethodDescriptor.ReturnsToCaller

function ReturnsToCaller(aIndex: Integer): Boolean;
True when parameter aIndex can carry a value BACK to the caller, i.e. it is declared var or out. A by-value or const parameter cannot: the callee may not change what the caller sees, so returning it in the response says nothing the caller did not already send.

IT IS NOT ONLY WASTE. The server used to echo EVERY argument, so an answer grew with its question - a request carrying a 60-character string came back 54 bytes larger than one carrying six. Anything counting bytes between the two ends therefore learned the length of an argument it could not read, in BOTH directions, and padding the request alone would not have closed it. Out of range answers True, so an argument this cannot classify is still returned and behaviour is unchanged.