(val)
| 119 | |
| 120 | |
| 121 | def safety_limit(val): |
| 122 | # Given an integer value from the process being debugged, limit it to some |
| 123 | # safety threshold so that arbitrary breakage within said process doesn't |
| 124 | # break the gdb process too much (e.g. sizes of iterations, sizes of lists) |
| 125 | return min(val, 1000) |
| 126 | |
| 127 | |
| 128 | def safe_range(val): |
no outgoing calls
no test coverage detected
searching dependent graphs…