GSoC Project | Basic Support for Trace Compass

Ravindra Kumar Meena rmeena840 at gmail.com
Tue Aug 6 15:30:28 UTC 2019


>
> > I think this can be the right way to check bound access.
> >
> https://github.com/rmeena840/rtems-tools/commit/81bf2a9b9e57e7911d519c4719c5126e29a7adbe
>
> No, the API classes are 1, 2, and 3. The indices into the table must be
> 0, 1, and 2. Don't add asserts in this path. Ignore items which have
> unexpected values.
>
Okay API is always returned in the range [ 1, 3 ]. Decrementing it by one
should be safe then.
https://github.com/rmeena840/rtems-tools/commit/8ff97b38970595f507e23f2a9a6e397ae1f70bb9



-- 
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190806/4db8ef1a/attachment-0002.html>


More information about the devel mailing list