{"id":12024,"date":"2021-04-11T16:03:43","date_gmt":"2021-04-11T16:03:43","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=12024"},"modified":"2021-04-11T16:03:43","modified_gmt":"2021-04-11T16:03:43","slug":"ghidra-xtensa-isa","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=12024","title":{"rendered":"Ghidra Xtensa ISA"},"content":{"rendered":"<p><a href=\"https:\/\/medium.com\/@olof.astrand\/analyzing-an-esp32-flash-dump-with-ghidra-e70e7f89a57f\">Analyzing an esp32 flash dump with ghidra<\/a><br \/>\n<a href=\"https:\/\/medium.com\/@olof.astrand\/enter-home-dragon-with-ghidra-3ed7ddf75935\">Enter \/home\/dragon with Ghidra<\/a><br \/>\n<a href=\"https:\/\/github.com\/Ebiroll\/ghidra-xtensa\">github.com\/Ebiroll\/ghidra-xtensa<\/a>, Tensilica Xtensa processor module for Ghidra<\/p>\n<p><a href=\"https:\/\/guedou.github.io\/talks\/2019_BeeRump\/slides.pdf\">Implementing a New CPU Architecture for Ghidra<\/a> (PDF)<br \/>\n<a href=\"https:\/\/www.reddit.com\/r\/ghidra\/comments\/bhhrt0\/quick_guide_to_creating_a_processor_in_ghidra\/\">Quick Guide to Creating a Processor in Ghidra<\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nC:\\Users\\andreas\\Downloads\\ghidra_9.2.2_PUBLIC&gt;support\\sleigh.bat -a Ghidra\\Processors\\Xtensa\r\nINFO  Using log config file: jar:file:\/C:\/Users\/andreas\/Downloads\/ghidra_9.2.2_PUBLIC\/Ghidra\/Framework\/Generic\/lib\/Generic.jar!\/generic.log4j.xml (LoggingInitialization)\r\nINFO  Using log file: C:\\Users\\andreas\\.ghidra\\.ghidra_9.2.2_PUBLIC\\application.log (LoggingInitialization)\r\nCompiling Ghidra\\Processors\\Xtensa\\data\\languages\\xtensa.slaspec:\r\nWARN  2 NOP constructors found (SleighCompile)\r\nWARN  Use -n switch to list each individually (SleighCompile)\r\n\r\n1 languages successfully compiled\r\n<\/pre>\n<p><a href=\"https:\/\/github.com\/pfalcon\/ida-xtensa2\/\">github.com\/pfalcon\/ida-xtensa2\/<\/a>, IDAPython plugin for Tensilica Xtensa (as seen in ESP8266), version 2<br \/>\n<a href=\"https:\/\/github.com\/pfalcon\/ida-xtensa2\/blob\/master\/xtensa.py\">ithub.com\/pfalcon\/ida-xtensa2\/blob\/master\/xtensa.py<\/a><\/p>\n<h3>General Ghidra<\/h3>\n<p><a href=\"https:\/\/byte.how\/posts\/what-are-you-telling-me-ghidra\/\">What&#8217;re you telling me, Ghidra? An introduction to Ghidra&#8217;s primary components<\/a><\/p>\n<h3>General ESP<\/h3>\n<p><a href=\"https:\/\/medium.com\/the-esp-journal\/esp32-programmers-memory-model-259444d89387\">ESP32 Programmers\u2019 Memory Model<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Analyzing an esp32 flash dump with ghidra Enter \/home\/dragon with Ghidra github.com\/Ebiroll\/ghidra-xtensa, Tensilica Xtensa processor module for Ghidra Implementing a New CPU Architecture for Ghidra (PDF) Quick Guide to Creating a Processor in Ghidra C:\\Users\\andreas\\Downloads\\ghidra_9.2.2_PUBLIC&gt;support\\sleigh.bat -a Ghidra\\Processors\\Xtensa INFO Using log config file: jar:file:\/C:\/Users\/andreas\/Downloads\/ghidra_9.2.2_PUBLIC\/Ghidra\/Framework\/Generic\/lib\/Generic.jar!\/generic.log4j.xml (LoggingInitialization) INFO Using log file: C:\\Users\\andreas\\.ghidra\\.ghidra_9.2.2_PUBLIC\\application.log (LoggingInitialization) Compiling Ghidra\\Processors\\Xtensa\\data\\languages\\xtensa.slaspec: WARN 2 NOP [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-12024","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/12024","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12024"}],"version-history":[{"count":1,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/12024\/revisions"}],"predecessor-version":[{"id":12025,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/12024\/revisions\/12025"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12024"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}