[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-700236-105":59,"doc-detail-700236-en":130,"doc-similar-700236":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","what-your-firmware-tells-you-is-not-how-you-should-emulate-it-a-specification-guided-approach-for-firmware-emulation","What Your Firmware Tells You Is Not How You Should Emulate It - A Specification-Guided Approach for Firmware Emulation","","Emulating microcontroller firmware is difficult because peripheral models are often missing. Prior firmware-guided methods infer responses from the target code, but incomplete or misleading firmware can provide insufficient or erroneous clues, including timing-related behaviors and buggy implementations. This work uses NLP to convert peripheral specifications from chip manuals into structured condition-action rules, then checks and chains them at runtime to synthesize models dynamically. Symbolic execution helps locate root causes for rule correction. Experiments on multiple MCU boards show higher emulation fidelity and improved fuzzing accuracy.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/what-your-firmware-tells-you-is-not-how-you-should-emulate-it-a-specification-guided-approach-for-firmware-emulation/700236/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/what-your-firmware-tells-you-is-not-how-you-should-emulate-it-a-specification-guided-approach-for-firmware-emulation/700236.png","ImageObject",300,407,{"name":92,"@type":93},"bocahgabuttt","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-29","2026-11-12",true,{"@type":102,"interactionType":103,"userInteractionCount":81},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"Why are existing firmware-guided peripheral emulation methods insufficient?","Question",{"text":112,"@type":113},"They rely on clues inside the firmware, which may be incomplete or even misleading. This can lead to incorrect peripheral behaviors, including wrong timing of interrupts and register mis-categorizations.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does the proposed specification-guided approach build peripheral models?",{"text":117,"@type":113},"It uses NLP to translate behaviors described in chip manuals into structured condition-action rules, then checks, executes, and chains these rules at runtime to synthesize a peripheral model for each firmware execution.",{"name":119,"@type":110,"acceptedAnswer":120},"What role does symbolic execution play in the workflow?",{"text":121,"@type":113},"Because the extracted rules may be incomplete or wrong, symbolic execution is used to quickly pinpoint root causes so that problematic rules can be manually corrected.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},700236,1794517490,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":81,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":56,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":129,"read_time":143,"preview_page_count":19,"preview_urls":144},962094248839,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","What Your Firmware Tells You Is Not How You Should Emulate It: A Specification-Guided Approach for Firmware Emulation  \n1 School of Cyber Science and Engineering, Huazhong Univ. of Sci. & Tech., China  \n2Department of Computer Science, University of Georgia, USA  \n3 College of Information Sciences and Technology, The Pennsylvania State University, USA  \n4National Computer Network Intrusion Protection Center, University of Chinese Academy of Sciences, China  \n5 School of Cyber Engineering, Xidian University, China  \n6 School of Computer Science and Cyberspace Security, Hainan University, China  \nABSTRACT  \nEmulating firmware of microcontrollers is challenging due to the lack of peripheral models. Existing work finds out how to respond to peripheral read operations by analyzing the target firmware. This is problematic because the firmware sometimes does not contain enough clues to support the emulation or even contains misleading information (e.g., a buggy firmware) . In this work, we propose a new approach that builds peripheral models from the peripheral specification. Using NLP, we translate peripheral behaviors inhuman language (documented in chip manuals) into a set of structured condition-action rules. By checking, executing, and chaining them at runtime, we can dynamically synthesize a peripheral model for each firmware execution. The extracted condition-action rules might not be complete or even be wrong. We, therefore, propose incorporating symbolic execution to quickly pinpoint the root cause. This assists us in the manual correction of the problematic rules. We have implemented our idea for five popular MCU boards spanning three different chip vendors. Using a new edit-distance-based algorithm to calculate trace differences, our evaluation against a large firmware corpus confirmed that our prototype achieves much higher fidelity compared with state-of-the-art solutions. Benefiting from the accurate emulation, our emulator effectively avoids false positives observed in existing fuzzing work. We also designed anew dynamic analysis method to perform driver code compliance checks against the specification. We found some non-compliance which we later confirmed to be bugs caused by race conditions.  \nACM Reference format:  \n. 2022. What Your Firmware Tells You Is Not How You Should Emulate It: A Specification-Guided Approach for Firmware Emulation. In Proceedings of ACM Conference, Washington, DC, USA, July 2017 (Conference’17), 19 pages. [https://doi.org/10.1145/nnnnnnn.nnnnnnn](https://doi.org/10.1145/nnnnnnn.nnnnnnn)  \n1 INTRODUCTION  \nMicrocontroller units (MCU) are small, resource-constraint SoCs (system on a chip) that drive a number of security-and safetycritical application fields such as smart homes, mobile robots, and healthcare. With the emergence of Internet of Things (IoT) technology, security analysis (e.g., bug finding, taint analysis, policy violation detection) of MCU-based IoT devices is becoming increasingly important. Due to the tight coupling between firmware code and physical peripherals, IoT devices are usually tested as a whole in the real world. However, involving real peripherals can make it significantly more difficult to achieve scalably (e.g., scale to thousands of  \n†Both authors contributed equally to this work.  \n∗ Corresponding author.  \nvendors and millions of peripherals) security analysis of firmware and devices. Because of this, in recent years, several emulationbased techniques have been proposed [1, 3, 12, 16, 21, 41, 46, 60]. By rehosting the firmware on a PC, many existing dynamic security analysis methods become possible without involving real hardware. Problems. A primary challenge in firmware emulation is modeling the behaviors of unknown peripherals. In particular, when the firmware reads a peripheral register, how can we generate an appropriate response? A common philosophy adopted by existing work is that the emulator should generate responses that meet the expectations of firm","cbCaiaeZDBcJTf7m","https://ap.wps.com/l/cbCaiaeZDBcJTf7m","pdf",634253,"English","# Abstract\n# Introduction\n## Problem: Modeling unknown peripherals in firmware emulation","[{\"question\":\"Why are existing firmware-guided peripheral emulation methods insufficient?\",\"answer\":\"They rely on clues inside the firmware, which may be incomplete or even misleading. This can lead to incorrect peripheral behaviors, including wrong timing of interrupts and register mis-categorizations.\"},{\"question\":\"How does the proposed specification-guided approach build peripheral models?\",\"answer\":\"It uses NLP to translate behaviors described in chip manuals into structured condition-action rules, then checks, executes, and chains these rules at runtime to synthesize a peripheral model for each firmware execution.\"},{\"question\":\"What role does symbolic execution play in the workflow?\",\"answer\":\"Because the extracted rules may be incomplete or wrong, symbolic execution is used to quickly pinpoint root causes so that problematic rules can be manually corrected.\"}]","What Your Firmware Tells You Is Not How You Should Emulate It - A Specification-Guided Approach for Firmware Emulation | PDF",48,[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/0a38b27b0f327bbafe5081d8fe936f31.webp",983,1272,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/f542ffeb1804ce92fd7ecf2fc46f6ef1.webp",982,1270,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/7456d198c364a7fa67797b598db0f57b.webp",981,1269,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/669b0f9d49bd0df98a9e2eef96aed292.webp",980,1268,{"list":162,"token":66},[163,169,175,181,187,194,201,208,215,222],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":29,"category_name":40,"create_tm":168},700346,"RM0090 Reference manual - STM32F40x/STM32F41x/STM32F42x/STM32F43x memory and peripherals usage","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012024556/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237519&Signature=aSolyzd%2FfJpuT8ogW5Eu1YUigC4%3D","rm0090-reference-manual-stm32f40xstm32f41xstm32f42xstm32f43x-memory-and-peripherals-usage",1794518347,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":46,"category_name":40,"create_tm":174},84363,"On Exploring Input Resolution Scaling For Anytime LiDAR Object Detection","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809165532/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237519&Signature=POeZk0f3qg7aCrY0CvVMNPP11K0%3D","on-exploring-input-resolution-scaling-for-anytime-lidar-object-detection",1784195104,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":52,"category_name":40,"create_tm":180},273486,"Toward Better Assessment of LLMs’ Performance in Clinical Error Detection - arXiv 2608.16643","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899941738/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237519&Signature=5C7t5uHSrxxUCsE8891JwdIXr%2Bs%3D","toward-better-assessment-of-llms-performance-in-clinical-error-detection-arxiv-260816643",1789471670,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":41,"category_name":40,"create_tm":186},123284,"Fake News Detection - Leveraging Natural Language Processing and Machine Learning for Reliable Information Verification","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229837002871/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237519&Signature=W4MGtCxw6m6zf%2BaXAUJH%2FwWY%2BJY%3D","fake-news-detection-leveraging-natural-language-processing-and-machine-learning-for-reliable-information-verification",1785815745,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":192,"category_name":40,"create_tm":193},82483,"EgoSafetyBench: A Diagnostic Egocentric Video Benchmark for Evaluating Embodied VLMs as Runtime Safety Guards","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808749129/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237519&Signature=55Vda1gXM%2FY%2BxWP5fBannEeud9I%3D","egosafetybench-a-diagnostic-egocentric-video-benchmark-for-evaluating-embodied-vlms-as-runtime-safety-guards",28,1784180843,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":199,"category_name":40,"create_tm":200},234,"XNX Gas Detector Calibration Guide 2023","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727733/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237519&Signature=FxzpZM1b30NFB1cRU3fq4xpr7ng%3D","xnx-gas-detector-calibration-2023",7973,1776136863,{"doc_id":202,"doc_title":203,"file_type":137,"home_preview_img_url":204,"slug":205,"view_count":206,"category_name":40,"create_tm":207},227,"Sridevi Matka Chart Full Guide to Panel, Jodi & Pana Records","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727553/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237519&Signature=CyO4HZN2WGKs3VZPIKYIN0Z5Wag%3D","sridevi-matka-chart-full-guide-to-panel-jodi-pana-records",7010,1776136851,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":213,"category_name":40,"create_tm":214},167314,"Linear Algebra and Its Applications 6th edition Textbook by david c. lay","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229876163444/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237519&Signature=dIjhIK2YG6MIcMUgY3k0ZV7lJbg%3D","linear-algebra-and-its-applications-sixth-edition-david-c-lay-steven-r-lay-judi-j-mcdonald",5970,1788211707,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":220,"category_name":40,"create_tm":221},32070,"Blueprint Pengelolaan Sumber Daya Manusia Kesehatan (SDMK) Tahun 2025–2029","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229758685683/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237519&Signature=F3D%2F4n3%2BdEfTqoNOmA%2FlUz8JNp8%3D","healthcare-human-resources-management-blueprint-sdmk-20252029",1294,1780779716,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":227,"category_name":40,"create_tm":228},148514,"Developmental Biology - Twelfth Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229868853261/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796237519&Signature=z4qcIS1bONXKuShKeekVg%2FXabqc%3D","developmental-biology-twelfth-edition",1267,1787780705]