<html>
<head>
<meta name="generator" content="Windows Mail 17.5.9600.20605">
<style data-externalstyle="true"><!--
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
}
p.MsoNormal, li.MsoNormal, div.MsoNormal {
margin:0in;
margin-bottom:.0001pt;
}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst,
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle,
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
}
--></style></head>
<body dir="ltr">
<div data-externalstyle="false" dir="ltr" style="font-family: 'Calibri', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'sans-serif';font-size:12pt;"><div style="font-size: 13pt;">Dear Clang Devs:</div><div style="font-size: 13pt;"><br></div><div style="font-size: 13pt;">I’m working on an extension to C, and using clang to do it. I’ve been able to successfully create a type attribute, which is associated with pointer types. Now, these extensions require that I rewrite pointer arithmetic to use specific runtime calls from a library that I’m linking into these files. It’s not clear to me where to even begin looking for the right place to do these rewrites inside of clang. I’d appreciate some help in where the appropriate place to rewrite this arithmetic would be. </div><div style="font-size: 13pt;"><br></div><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px;" dir="ltr"><div style="font-size: 13pt;">Yours truly,</div><div style="font-size: 13pt;"><br></div><blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px;" dir="ltr"><div style="font-size: 13pt;">Aaron W. Hsu<br></div></blockquote></blockquote><div style="font-size: 13pt;" data-signatureblock="true"><br></div><div style="font-size: 13pt;" data-signatureblock="true">-- <br>Aaron W. Hsu | arcfide@sacrideo.us | http://www.sacrideo.us<br>Please support my work: https://www.gratipay.com/arcfide/<br>לֵ֤ב חֲכָמִים֙ בְּבֵ֣ית אֵ֔בֶל וְלֵ֥ב כְּסִילִ֖ים בְּבֵ֥ית שִׂמְחָֽה׃</div><div style="font-size: 13pt;" data-signatureblock="true"><br></div></div>
</body>
</html>