[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-327671-105":59,"doc-detail-327671-en":131,"doc-similar-327671":162},{"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":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","detecting-architectural-drift-in-safety-critical-firmware-through-runtime-trace-analysis","Detecting Architectural Drift in Safety-Critical Firmware through Runtime Trace Analysis","","Maintaining consistency between architectural design and runtime behavior is difficult in long-lived safety-critical firmware. The paper introduces a runtime-informed method to detect architectural drift in ISO 26262-compliant systems by collecting hardware-assisted execution traces, transforming them into message exchanges among components, and deterministically differencing them against design-time sequence diagrams. Discrepancies are classified and a constrained LLM produces human-readable reports for expert review. Evaluation on 26 industrial test cases shows strong agreement with expert references and practitioners find the reports reduce manual effort for safety documentation.",{"@graph":69,"@context":123},[70,84,106],{"@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/detecting-architectural-drift-in-safety-critical-firmware-through-runtime-trace-analysis/327671/",{"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/detecting-architectural-drift-in-safety-critical-firmware-through-runtime-trace-analysis/327671.png","ImageObject",300,407,{"name":92,"@type":93},"Noah","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-24","2026-09-21",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",12,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What is architectural drift in the paper’s context?","Question",{"text":113,"@type":114},"Architectural drift is defined as runtime-observable deviations between the intended architectural behavior and the behavior actually exercised during execution, expressed as divergences in prescribed versus observed message exchanges among firmware components.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"How does the proposed method detect drift?",{"text":118,"@type":114},"It collects hardware-assisted execution traces, abstracts them into message exchanges among firmware components, and deterministically compares the resulting runtime behavior with design-time sequence diagrams to compute classified discrepancies.",{"name":120,"@type":111,"acceptedAnswer":121},"What role does the LLM-based step play?",{"text":122,"@type":114},"A constrained LLM generates a human-readable report that supports expert review, rather than being used to replace analysis or determine the discrepancies directly.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},327671,1790441639,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":105,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":41,"preview_page_count":19,"preview_urls":145},8796095462418,"https://ap-avatar.wpscdn.com/avatar/80000253c1241d02b47?x-image-process=image/resize,m_fixed,w_180,h_180&k=1778826106357471780","Detecting Architectural Drift in Safety-Critical Firmware through Runtime Trace Analysis  \narXiv :2607 .03 135v 1 [ cs . SE] 3 Jul 2026  \nDomenico Francesco De Angelis University of Naples Federico II Micron Technology, Inc Naples, Italy [ddeangelis@micron.com](ddeangelis@micron.com)[ ](ddeangelis@micron.com)[domenicofrancesco.deangelis@unina.it](domenicofrancesco.deangelis@unina.it)  \nMarco De Luca DIETI  \nUniversity of Naples Federico II Naples, Italy [marco.deluca2@unina.it](marco.deluca2@unina.it)  \nDomenico Amalfitano DIETI  \nUniversity of Naples Federico II Naples, Italy domenico.amalfitano@unina.it  \nPasquale Cimmino Micron Technology, Inc Naples, Italy [pcimmino@micron.com](pcimmino@micron.com)  \nAnna Rita Fasolino DIETI  \nUniversity of Naples Federico II Naples, Italy [fasolino@unina.it](fasolino@unina.it)  \nAbstract—Maintaining consistency between architectural design and runtime-observed behavior is challenging in long-lived safety-critical firmware. This paper presents a runtime-informed methodology for detecting architectural drift in ISO 26262-compliant firmware. The approach collects hardware-assisted execution traces, abstracts them into message exchanges among firmware components, and compares the resulting runtime behavior with design-time sequence diagrams through a deterministic differencing step. The computed delta identifies discrepancies as confirmed, missing, additional, or inverted, while a constrained LLM-based step generates a human-readable report only to support expert review. We evaluate the methodology in an industrial firmware context through agreement-based validation and a practitioner survey. Results over 26 test cases show strong agreement between the generated deltas and expertcurated references, while practitioners perceive the reports as useful for interpreting drift, reducing manual analysis effort, and supporting safety-oriented documentation activities. The findings suggest that combining runtime trace analysis, deterministic architectural differencing, and constrained LLM-based reporting can practically support architectural drift detection in evolving safety-critical firmware.  \nIndex Terms—Architectural Drift, Architecture Evolution, Software Architecture Recovery, ISO 26262, Embedded Firmware, Execution Trace Analysis  \nI. INTRODUCTION  \nIn automotive firmware development, architecture serves asa design artifact that guides implementation and supports reasoning about system-level concerns, including safety-related decisions. In safety-critical contexts, architectural reasoning primarily relies on components and their interfaces, which constitute the main abstraction used during integration and verification activities [1], [2] . As a result, architectural consistency is often assessed at the level of inter-component interactions rather than internal implementations.  \nMaintaining architectural documentation aligned with an evolving firmware codebase, however, remains challenging. Continuous evolution driven by feature growth, defect correction, platform variation, and release pressure often causes  \ndocumented architectures to become partial or misaligned with the deployed implementation [3] . Industrial studies report that while architectural views are crucial for maintainability, communication, and verification, they are difficult to preserve manually over time [4]–[6] .  \nAs a result, firmware architecture recovery has become an important industrial activity. Static architecture recovery can reconstruct useful structural views from code, including component decomposition, dependencies, interfaces, and other design-level relations [4],[7] . However, these views mainly describe what the firmware contains, offering limited evidence on how architectural interactions are actually exercised at runtime, especially when behavior is scenario-dependent, dynamically dispatched, or shaped by event ordering [7]–[9] .  \nIn ISO 26262-compliant firmware, this gap is critical because architectura","cbCaik1x9xZ2pSfB","https://ap.wps.com/l/cbCaik1x9xZ2pSfB","pdf",1067571,"English","# Abstract\n# Introduction\n## Architectural consistency and drift in safety-critical firmware\n## Static architecture recovery limitations\n## Hardware-assisted instruction tracing and runtime-informed diagrams","[{\"question\":\"What is architectural drift in the paper’s context?\",\"answer\":\"Architectural drift is defined as runtime-observable deviations between the intended architectural behavior and the behavior actually exercised during execution, expressed as divergences in prescribed versus observed message exchanges among firmware components.\"},{\"question\":\"How does the proposed method detect drift?\",\"answer\":\"It collects hardware-assisted execution traces, abstracts them into message exchanges among firmware components, and deterministically compares the resulting runtime behavior with design-time sequence diagrams to compute classified discrepancies.\"},{\"question\":\"What role does the LLM-based step play?\",\"answer\":\"A constrained LLM generates a human-readable report that supports expert review, rather than being used to replace analysis or determine the discrepancies directly.\"}]","Detecting Architectural Drift in Safety-Critical Firmware through Runtime Trace Analysis | PDF",1789977785,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/a41aea2d8e43c66d9256d8c9ec0e17df.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/19bdaba4b12e9432237559eac664deeb.webp",982,1270,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/6a2502a926dc440aceb456099919f7c0.webp",981,1269,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/f1e28c41a14cc67f65b2a75e6c7bc4f3.webp",980,1268,{"list":163,"token":66},[164,170,176,182,189,195,202,208,215,221],{"doc_id":165,"doc_title":166,"file_type":138,"home_preview_img_url":167,"slug":168,"view_count":44,"category_name":40,"create_tm":169},662625,"THE ANIMATE DRAWING - PhD Dissertation - Anna Katrine Hougaard","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229981583406/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=Q5DzxKpvkNNBQruouTTLWR1TT8I%3D","the-animate-drawing-phd-dissertation-anna-katrine-hougaard",1793220978,{"doc_id":171,"doc_title":172,"file_type":138,"home_preview_img_url":173,"slug":174,"view_count":81,"category_name":40,"create_tm":175},700236,"What Your Firmware Tells You Is Not How You Should Emulate It - A Specification-Guided Approach for Firmware Emulation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011564548/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=OSHq8lYIvng0L8mz%2BZoFCHe%2FMgw%3D","what-your-firmware-tells-you-is-not-how-you-should-emulate-it-a-specification-guided-approach-for-firmware-emulation",1794517490,{"doc_id":177,"doc_title":178,"file_type":138,"home_preview_img_url":179,"slug":180,"view_count":34,"category_name":40,"create_tm":181},656152,"Recovering Software Architecture Intent from Historical Work Items using Generative AI - A Mixed-Methods Industry Case Study","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974786042/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=DZ6RiVKaPvn8w8A3rqU9usa9o9g%3D","recovering-software-architecture-intent-from-historical-work-items-using-generative-ai-a-mixed-methods-industry-case-study",1792966735,{"doc_id":183,"doc_title":184,"file_type":138,"home_preview_img_url":185,"slug":186,"view_count":187,"category_name":40,"create_tm":188},650096,"Journal of Infrastructure Intelligence and Resilience 4 (2025) 100167 - Fire sprinkler layout drawing automation using pix2pixHD GAN","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229972488507/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=G2FIa01zf8M5zA5rmRYQEYcLTFA%3D","journal-of-infrastructure-intelligence-and-resilience-4-2025-100167-fire-sprinkler-layout-drawing-automation-using-pix2pixhd-gan",13,1792816614,{"doc_id":190,"doc_title":191,"file_type":138,"home_preview_img_url":192,"slug":193,"view_count":14,"category_name":40,"create_tm":194},694350,"The Geometry of Creation - Architectural Drawing and the Dynamics of Gothic Design","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230006937851/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=bKZ%2BqnFGMQ5Hl6F%2FALb%2BxjMIgBY%3D","the-geometry-of-creation-architectural-drawing-and-the-dynamics-of-gothic-design",1794345290,{"doc_id":196,"doc_title":197,"file_type":138,"home_preview_img_url":198,"slug":199,"view_count":200,"category_name":40,"create_tm":201},649378,"Steel Grades - Design Notes & Structural Members - Dimensions, Building Class, Design Wind Speed","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229972145602/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=RQv3XQ7%2Bbp6G0bOSD9y8ZpWoaj0%3D","steel-grades-design-notes-structural-members-dimensions-building-class-design-wind-speed",14,1792799617,{"doc_id":203,"doc_title":204,"file_type":138,"home_preview_img_url":205,"slug":206,"view_count":24,"category_name":40,"create_tm":207},692998,"Harness Engineering - Anatomy, Architecture, and Evolution of Coding Agents - A Source-Code Study of Eleven Systems","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005040213/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=g4AbCXB8BDgpHhZ3tk4a5Oc4sVc%3D","harness-engineering-anatomy-architecture-and-evolution-of-coding-agents-a-source-code-study-of-eleven-systems",1794244962,{"doc_id":209,"doc_title":210,"file_type":138,"home_preview_img_url":211,"slug":212,"view_count":213,"category_name":40,"create_tm":214},83587,"Trustworthy Runtime Verification via Bisimulation (Extended Experience Report)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808870521/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=liZ2sw9%2FPoKqgafXUkkwl53I6Ls%3D","trustworthy-runtime-verification-via-bisimulation-extended-experience-report",24,1784189029,{"doc_id":216,"doc_title":217,"file_type":138,"home_preview_img_url":218,"slug":219,"view_count":44,"category_name":40,"create_tm":220},663923,"Utilization of Image-generating AI in the Architectural Design Process - Focusing on the Comprehension and Expressiveness of Sketch-to-image Input-based Image-generating AI","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229981750628/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=V9ytvG4f4vp09U1g9OD6ZFr1dc0%3D","utilization-of-image-generating-ai-in-the-architectural-design-process-focusing-on-the-comprehension-and-expressiveness-of-sketch-to-image-input-based-image-generating-ai",1793234234,{"doc_id":222,"doc_title":223,"file_type":138,"home_preview_img_url":224,"slug":225,"view_count":226,"category_name":40,"create_tm":227},86483,"Model-Driven Digital Twin Framework for Quantum Networks","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809421287/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=EPJHzidyRzHFgRhjVyEdXfPVNXM%3D","model-driven-digital-twin-framework-for-quantum-networks",25,1784212062]