Displaying 1 result from an estimated 1 matches for "pointrval".
Did you mean:
pointerval
2019 Jul 17
2
Help to understand LoadValueFromMemory
...icValue* Ptr = (GenericValue*)GVTOP(SRC);
GenericValue Result;
source->getPointerOperand()->getType()->dump(); //[40 x i8]*
LoadValueFromMemory(Result, Ptr, source->getPointerOperand()->getType());
and use Result.PointerVal ...
In the end I have the first 4 bytes within Result.PointrVal but I cannot
see the other bytes.. Unfortunately also Result.AggregateVal has size 0.
Could you help me to understand why please?
The core part of the .ll is the following:
define i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct._IO_FILE*, align 8
%3 = alloca [40 x i8], align...