Method
__init__
(self, spec: str, num_args: int)
Source from the content-addressed store, hash-verified
| 4043 | class FormatStringBreakpoint(gdb.Breakpoint): |
| 4044 | """Inspect stack for format string.""" |
| 4045 | def __init__(self, spec: str, num_args: int) -> None: |
| 4046 | super().__init__(spec, type=gdb.BP_BREAKPOINT, internal=False) |
| 4047 | self.num_args = num_args |
| 4048 | self.enabled = True |
| 4049 | return |
| 4050 | |
| 4051 | def stop(self) -> bool: |
| 4052 | reset_all_caches() |
Callers
nothing calls this directly
Tested by
no test coverage detected