Closed
Bug 525809
Opened 16 years ago
Closed 5 years ago
Analysis to catch using virtual methods in destructors
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Developer Infrastructure
Source Code Analysis
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: bent.mozilla, Unassigned)
Details
Using virtual methods in destructors can be wacky, maybe error (but at least warn) if we have code that does it.
Comment 1•16 years ago
|
||
I thought this was already filed but I can't find it. Doing this function-local is of limited benefit, since very often the logic errors happen calling helper methods on the object. I think we could get pretty simple good results with a low false-positive rate if we had the global callgraph.
Comment 2•16 years ago
|
||
Yeah, this would be a simple analysis to run as a post-analysis script on a callgraph.
Comment 3•10 years ago
|
||
[Tracking Requested - why for this release]:
blocking-b2g: --- → 2.1S?
tracking-b2g:
--- → backlog
Updated•10 years ago
|
blocking-b2g: 2.1S? → ---
tracking-b2g:
backlog → ---
Updated•7 years ago
|
Product: Core → Firefox Build System
Comment 4•5 years ago
|
||
Closing this since we have clang-analyzer-alpha.cplusplus.VirtualCall through clang-tidy.
Updated•5 years ago
|
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
Updated•3 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•