This is the mail archive of the
systemtap@sources.redhat.com
mailing list for the systemtap project.
Re: variables in scopes
Hi -
On Fri, Apr 15, 2005 at 12:18:29AM -0700, Roland McGrath wrote:
> [...]
> > $var[idx] - to index an array; idx being any systemtap expression
>
> Is this meant for explicit, sized array types only?
Probably not.
> Otherwise there are no known bounds to check, and this is tantamount
> to a (type *)idx facility.
Yes, but without typecasting or changing the base address, one can
only just run off the end of the array.
- FChE