MCPcopy Create free account
hub / github.com/SVF-tools/SVF / PointsTo

Method PointsTo

svf/lib/MemoryModel/PointsTo.cpp:25–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23PointsTo::MappingPtr PointsTo::currentBestReverseNodeMapping = nullptr;
24
25PointsTo::PointsTo()
26 : type(Options::PtType()), nodeMapping(currentBestNodeMapping),
27 reverseNodeMapping(currentBestReverseNodeMapping)
28{
29 if (type == SBV) new (&sbv) SparseBitVector<>();
30 else if (type == CBV) new (&cbv) CoreBitVector();
31 else if (type == BV) new (&bv) BitVector();
32 else assert(false && "PointsTo::PointsTo: unknown type");
33}
34
35PointsTo::PointsTo(const PointsTo &pt)
36 : type(pt.type), nodeMapping(pt.nodeMapping),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected