MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / getAllocType

Method getAllocType

ir/pointer.cpp:755–758  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

753}
754
755expr Pointer::getAllocType() const {
756 return getValue("blk_kind", m.local_blk_kind, m.non_local_blk_kind,
757 expr::mkUInt(0, 2));
758}
759
760expr Pointer::isStackAllocated(bool simplify) const {
761 // 1) if a stack object is returned by a callee it's UB

Callers 6

allocMethod · 0.80
freeMethod · 0.80
blockRefinedMethod · 0.80
printMethod · 0.80
at_least_same_offsetingFunction · 0.80
refinedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected