Open LinerSu opened 1 year ago
Giving a method to group region variables passed/returned between caller and callee based on the DSA intrinsics. The information is stored in the callsite_info class for further abstract operations of calls. For instance, from caller to callee
callsite_info
(a, b, V1, V2, V3, V4, V5)
(c, d, V7, V8, V9, V10, V11)
crab_intrinsic(regions_from_memory_object, V7, V8, V9); crab_intrinsic(regions_from_memory_object, V10, V11);
The information to group region variables is {{V1, V2, V3}, {V4, V5}} for the caller's inputs and {{V7, V8, V9}, {V10, V11}} for the callee's inputs.
{{V1, V2, V3}, {V4, V5}}
{{V7, V8, V9}, {V10, V11}}
Giving a method to group region variables passed/returned between caller and callee based on the DSA intrinsics. The information is stored in the
callsite_info
class for further abstract operations of calls. For instance, from caller to callee(a, b, V1, V2, V3, V4, V5)
(c, d, V7, V8, V9, V10, V11)
The information to group region variables is
{{V1, V2, V3}, {V4, V5}}
for the caller's inputs and{{V7, V8, V9}, {V10, V11}}
for the callee's inputs.