6. A system comprising: a memory comprising instructions executable by one or more processors; and the one or more processors coupled to the memory and operable to execute the instructions, the one or more processors being operable when executing the instructions to: mark an object in source code of a software program written in an object-oriented scripting language, wherein marking the object is performed with a keyword; mark one or more functions in the source code of the software program; construct a control flow graph (CFG) for the software program; and determine whether there is any path in the CFG that leads from a first node corresponding to the marked object to a second node corresponding to any marked function paired with the object.
6. A system comprising: a memory comprising instructions executable by one or more processors; and the one or more processors coupled to the memory and operable to execute the instructions, the one or more processors being operable when executing the instructions to: mark an object in source code of a software program written in an object-oriented scripting language, wherein marking the object is performed with a keyword; mark one or more functions in the source code of the software program; construct a control flow graph (CFG) for the software program; and determine whether there is any path in the CFG that leads from a first node corresponding to the marked object to a second node corresponding to any marked function paired with the object. 10. The system of claim 6 , wherein the one or more processors are further operable when executing the instructions to report an alert if there is at least one path in the CFG that leads from the first node to the second node.