[Bug translator/16300] New: suppress statement-counting protections in loop-free non-recursive probe handlers

fche at redhat dot com sourceware-bugzilla@sourceware.org
Fri Dec 6 21:07:00 GMT 2013


https://sourceware.org/bugzilla/show_bug.cgi?id=16300

            Bug ID: 16300
           Summary: suppress statement-counting protections in loop-free
                    non-recursive probe handlers
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: fche at redhat dot com

Since we have full view of the probe handler's logic & control flow,
we can know that handlers containing only straight-through code and
conditionals cannot trigger an indefinite loop, thus don't need
statement-counting type protection.

This might extended to some loops too, if we pessimistically estimate
small number-of-iterations, such as foreach-limit ones, or loops over
fixed integer ranges, or over small arrays.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Systemtap mailing list