<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello,<div class=""><br class=""></div><div class="">I am looking for a way to identify loads, stores and any other kind of instruction that <b class="">definitely</b> perform memory access and extract the address operand(s), however I was not able to find a cross-architecture API. The closest I stumbled upon are "<font face="FiraCode-Regular" class=""><span style="font-style: normal;" class="">MCInstrDesc::mayLoad()</span></font>" and "<font face="FiraCode-Regular" class=""><span style="font-style: normal;" class="">MCInstrDesc::mayStore()</span></font>", but I understand that their results are just a hint, so I would then need to examine the instruction name or opcode in order to find out whether itβs actually a load or store and which operand(s) is (are) memory address(es) and also do so for each architecture separately, which I would really like to avoid.</div><div class=""><br class=""></div><div class="">Is there a way to identify such instructions either by examining them through the disassembler (e.g. "<font face="FiraCode-Regular" class=""><span style="font-style: normal;" class="">DoesLoad()</span></font>" | "<font face="FiraCode-Regular" class=""><span style="font-style: normal;" class="">DoesStore()</span></font>") before they execute or right after they perform any kind of memory access?</div><div class=""><br class=""></div><div class="">Thank you very much, in advance! π</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">β Vangelis</div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>