Mark the source function as absent (inlined / ifdeffed out).
(self)
| 479 | |
| 480 | # Overridden base function |
| 481 | def disable(self): |
| 482 | """Mark the source function as absent (inlined / ifdeffed out).""" |
| 483 | # singleton lock |
| 484 | if not self.exists: |
| 485 | return |
| 486 | # can now safely continue |
| 487 | self.exists = False |
| 488 | # keep on recursively with our external functions |
| 489 | for ext in self.externals: |
| 490 | ext.removeXref(self) |
| 491 | # mark that I'm no longer a valid collision candidate |
| 492 | for collision_candidate in self.collision_candidates: |
| 493 | collision_candidate.collision_candidates.remove(self) |
| 494 | self.collision_candidates = [] |
| 495 | |
| 496 | def recordUnknown(self, unknown, is_fptr=False): |
| 497 | """Record a function call to an unknown function. |
nothing calls this directly
no test coverage detected