<div dir="auto"><div dir="auto">Hi, thanks for the response.<br><br></div><div dir="auto">We are currently planning to utilize StackSafetyAnalysis for memory protection schemes that continue our prior work on ARM pointer authentication (<a href="https://arxiv.org/abs/1811.09189">https://arxiv.org/abs/1811.09189</a>).<br></div><div dir="auto"><br></div><div dir="auto">Since the code seems to be dormant around 6 months, and I haven’t found recent discussion regarding this, I thought that I can suggest some refactoring so other users can use this analysis in other passes, similar with the rest of LLVM analyses suites (e.g., alias analysis).</div><div dir="auto"><br></div><div dir="auto">This is also to avoid changing the StackSafetyAnalysis code for every uses by different users, which will be redundant. However, if some other approach there is already an internal development to improve its API that the public currently does not know of, this changes can be dropped.</div><div dir="auto"><br></div><div dir="auto">Right now we plan to use the exposed objects to identify stack-allocated variable which has out-of-bound access and use the information in our memory protection scheme.</div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Gilang</div><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Mon, Jun 24, 2019, 11:18 PM Vlad Tsyrklevich via Phabricator <<a href="mailto:reviews@reviews.llvm.org" target="_blank" rel="noreferrer">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">vlad.tsyrklevich added a subscriber: kcc.<br>
vlad.tsyrklevich added a comment.<br>
<br>
Hi gilang, out of curiosity what is your intended use of the StackSafetyAnalysis? Is it necessary to expose all of the information exposed here?<br>
<br>
<br>
Repository:<br>
rG LLVM Github Monorepo<br>
<br>
CHANGES SINCE LAST ACTION<br>
<a href="https://reviews.llvm.org/D63703/new/" rel="noreferrer noreferrer noreferrer" target="_blank">https://reviews.llvm.org/D63703/new/</a><br>
<br>
<a href="https://reviews.llvm.org/D63703" rel="noreferrer noreferrer noreferrer" target="_blank">https://reviews.llvm.org/D63703</a><br>
<br>
<br>
<br>
</blockquote></div></div>