Systems and Methods of Detecting Power Bugs
First Claim
1. A computer-implemented method for analyzing a computer code, the method comprising:
- at a processor, generating a control flow graph for at least a portion of the computer code; and
identifying power bugs by traversing the control flow graph to identify if the control flow graph exits without performing a function call to deactivate power to any component of a device configured to execute computer executable instructions based on the computer code after performing a function call to activate power.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the present invention provide a system and methods for detecting power bugs. In one embodiment, a computer-implemented method for analyzing a computer code includes generating a control flow graph for at least a portion of the computer code at a processor. The method further includes identifying power bugs by traversing the control flow graph if the control flow graph exits without performing a function call to deactivate power to any component of a device configured to execute computer executable instructions based on the computer code after performing a function call to activate power.
46 Citations
20 Claims
-
1. A computer-implemented method for analyzing a computer code, the method comprising:
-
at a processor, generating a control flow graph for at least a portion of the computer code; and identifying power bugs by traversing the control flow graph to identify if the control flow graph exits without performing a function call to deactivate power to any component of a device configured to execute computer executable instructions based on the computer code after performing a function call to activate power. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A computing device comprising:
a processor configured to execute a debugging tool, the debugging tool configured to; generate a control flow graph for at least a portion of a computer code, and identify power bugs by detecting if the control flow graph exits without performing a function call for deactivating power to any component of a device configured to execute computer executable instructions based on the computer code by traversing the control flow graph after performing a function call to activate power.
-
20. A non-transitory storage medium comprising a debugging tool, the debugging tool configured to analyze a computer code by:
-
generating a control flow graph for at least a portion of the computer code; and identifying power bugs by detecting if the control flow graph exits without performing a function call for deactivating power to any component of a device configured to execute computer executable instructions based on the computer code by traversing the control flow graph after performing a function call to activate power.
-
Specification