<div dir="ltr"><div>Hi all,</div><div>so I'm trying to understand how to manually calculate the offset calculated by a GEP instruction. I found that this question was asked over 6 years ago on stackoverflow[1] as well but never got a real answer.</div><div><br></div><div>Since I need exactly the same, is there anyone willing to help me to understand how to calculate the offset?</div><div><br></div><div>Thanks<br></div><div><br></div><div><br></div><div>[1] <a href="https://stackoverflow.com/questions/32444497/determine-byte-offset-of-getelementptr">https://stackoverflow.com/questions/32444497/determine-byte-offset-of-getelementptr</a></div></div>