<div dir="ltr"><div>Hi all,</div><div>I think I could just use  <a class="el" href="https://llvm.org/doxygen/Module_8h_source.html#l00582">llvm::Module::global_begin()</a> . Is it correct?</div><div><br></div><div>I don't know how I missed that :)</div><div><br></div><div>Thanks<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno lun 9 dic 2019 alle ore 19:23 Alberto Barbaro <<a href="mailto:barbaro.alberto@gmail.com">barbaro.alberto@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi all,</div><div>I'm playing with the interpreter and I'm able to access to some GlobalVariable, if for instance used by a GEP instruction. I was wondering if it is possible to list all of them independently from the instruction I'm currently visiting and obviously the relative value. For instance, in my .ll I have something:</div><div><br></div><div>@.str.4.49 = private unnamed_addr constant [19 x i8] c" but running with \00", align 1<br>@.str.2.50 = private unnamed_addr constant [7 x i8] c"1.6.15\00", align 1<br>@.str.5.55 = private unnamed_addr constant [42 x i8] c"Unknown freer parameter in png_data_freer\00", align 1</div><div><br></div><div>Is it possible to iterate over them and get the values?</div><div><br></div><div>Thanks</div><div>Alberto<br></div><div><br></div></div>
</blockquote></div>