[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-691101-105":59,"doc-detail-691101-en":130,"doc-similar-691101":178},{"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","undocumented-cpu-behaviour-on-x86-and-risc-v-microarchitectures-a-security-perspective-meng-dissertation","Undocumented CPU Behaviour on x86 and RISC-V Microarchitectures - A Security Perspective - MEng Dissertation","","Undocumented CPU behaviour on x86 and RISC-V microarchitectures is examined from a security perspective, focusing on how untrusted processors can expose risks through unexpected or unspecified instruction effects. The work motivates the need to distrust the CPU, reviews security and architectural concepts, and tests microarchitectures across instruction set architectures. Implementations include an OpcodeTester-based approach for RISC-V, and instruction searching, prefetch investigation, and testing techniques for x86, followed by evaluation and conclusions.",{"@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/undocumented-cpu-behaviour-on-x86-and-risc-v-microarchitectures-a-security-perspective-meng-dissertation/691101/",{"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/undocumented-cpu-behaviour-on-x86-and-risc-v-microarchitectures-a-security-perspective-meng-dissertation/691101.png","ImageObject",300,407,{"name":92,"@type":93},"Oliver","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-30","2026-11-08",true,{"@type":102,"interactionType":103,"userInteractionCount":24},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What security risk does the dissertation focus on?","Question",{"text":112,"@type":113},"It focuses on security implications arising from undocumented CPU behaviour, where unexpected instruction effects can be exploited when the CPU is treated as untrusted.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does the work approach testing on RISC-V microarchitectures?",{"text":117,"@type":113},"It builds an initial framework, ports OpcodeTester to RISC-V, infers instruction functionality, reduces the instruction search space, and then presents results including reverse-engineering RES1 and RES2.",{"name":119,"@type":110,"acceptedAnswer":120},"What methods are used for x86 instruction investigation?",{"text":121,"@type":113},"The dissertation uses techniques such as investigating undocumented prefetches, searching the instruction space, applying instruction testing methods, and studying the behaviour of #UD instructions.","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},691101,1794172253,{"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":24,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"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":129,"read_time":144,"preview_page_count":39,"preview_urls":145},8796095461610,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","Dissertation Type: research  \nDEPARTMENT OF COMPUTER SCIENCE  \nUndocumented CPU Behaviour on x86 and RISC-V Microarchitectures: A Security Perspective  \nCatherine Easdon  \nA dissertation submitted to the University of Bristol in accordance with the requirements of the degree of  \nMaster of Engineering in the Faculty of Engineering.  \nFriday 10th May, 2019  \nDeclaration  \nThis dissertation is submitted to the University of Bristol in accordance with the requirements of the degree of MEng in the Faculty of Engineering. It has not been submitted for any other degree or diploma of any examining body. Except where specifically acknowledged, it is entirely the work of the author . The views in this document are those of the author and do not in any way represent those of the University.  \nSigned: Catherine Easdon, Friday 10th May, 2019  \nContents  \n1 Motivation 1  \n1. 1 The Complexity Explosion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1  \n1.2 Untrusting the CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3  \n1.3 Undocumented Instruction Behaviour . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8  \n1.4 Prior Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10  \n1.5 Project Aims . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11  \n2 Technical Background 13  \n2.1 Security Concepts ......................................... 13  \n2.2 Architectural Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14  \n2.3 ISAs and Microarchitectures under Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20  \n3 Implementation and Results: RISC-V 27  \n3. 1 Initial Framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27  \n3.2 Porting OpcodeTester to RISC-V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  \n3.3 Inferring Instruction Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  \n3.4 Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  \n3.5 Reducing the Instruction Search Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31  \n3.6 Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32  \n3.7 Reverse-Engineering RES1 and RES2 ............................... 32  \n4 Implementation and Results: x86 37  \n4. 1 Undocumented Prefetches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37  \n4.2 Searching the Instruction Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39  \n4.3 Instruction Testing Techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42  \n4.4 Investigating \\#UD Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45  \n5 Evaluation and Conclusion 52  \n5.1 Project Outcomes ......................................... 52  \n5.2 Critical Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53  \n5.3 Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53  \n5.4 Future Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54  \n5.5 Outlook for CPU Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56  \nList of Figures  \n1 The SiFive HiFive Unleashed and HiFive 1 development boards . . . . . . . . . . . . . . . . . viii  \n1. 1 An Intel Core i7-7820X CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2  \n1.2 A map of Intel’s ten main manufacturing sites . . . . . . . . . . . . . . . . . . . . . . . . . . 3  \n1.3 Software and hardware abstraction layers ............................. 6  \n2.1 A typical desktop/server memory hierarchy ............................ 16  \n2","cbCaiqtMeG0BBltK","https://ap.wps.com/l/cbCaiqtMeG0BBltK","pdf",3082758,77,"English","# Motivation\n## The Complexity Explosion\n## Untrusting the CPU\n## Undocumented Instruction Behaviour\n## Prior Work\n## Project Aims\n# Technical Background\n## Security Concepts\n## Architectural Concepts\n## ISAs and Microarchitectures under Test\n# Implementation and Results: RISC-V\n## Initial Framework\n## Porting OpcodeTester to RISC-V\n## Inferring Instruction Functionality\n## Challenges\n## Reducing the Instruction Search Space\n## Results\n## Reverse-Engineering RES1 and RES2\n# Implementation and Results: x86\n## Undocumented Prefetches\n## Searching the Instruction Space\n## Instruction Testing Techniques\n## Investigating #UD Instructions\n# Evaluation and Conclusion\n## Project Outcomes\n## Critical Evaluation\n## Challenges\n## Future Work\n## Outlook for CPU Security","[{\"question\":\"What security risk does the dissertation focus on?\",\"answer\":\"It focuses on security implications arising from undocumented CPU behaviour, where unexpected instruction effects can be exploited when the CPU is treated as untrusted.\"},{\"question\":\"How does the work approach testing on RISC-V microarchitectures?\",\"answer\":\"It builds an initial framework, ports OpcodeTester to RISC-V, infers instruction functionality, reduces the instruction search space, and then presents results including reverse-engineering RES1 and RES2.\"},{\"question\":\"What methods are used for x86 instruction investigation?\",\"answer\":\"The dissertation uses techniques such as investigating undocumented prefetches, searching the instruction space, applying instruction testing methods, and studying the behaviour of #UD instructions.\"}]","Undocumented CPU Behaviour on x86 and RISC-V Microarchitectures - A Security Perspective - MEng Dissertation | PDF",194,[146,150,154,158,162,166,170,174],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/11b6516b79b4509a884c83f4727556a5.webp",983,1390,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/cbea5b2e49d277b3c36bfee724a537c7.webp",982,1388,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/97126c7313ca109dc9d559bec4804c7c.webp",981,1387,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/14081a78c5d84bc5f90189ecc25f7863.webp",980,1385,{"page_no":24,"url":163,"width":164,"height":165},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/df9176c503567d6790e6de83b91dba06.webp",979,1384,{"page_no":29,"url":167,"width":168,"height":169},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/0763904d30b00fad0d93a23804e64d73.webp",978,1383,{"page_no":34,"url":171,"width":172,"height":173},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/780a2e1f0d7c793e826e1c1d71a93c0a.webp",977,1381,{"page_no":39,"url":175,"width":176,"height":177},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/2c4fbd24b65127e962defd4073da9196.webp",976,1380,{"list":179,"token":66},[180,187,194,201,207,214,220,227,234,241],{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":185,"category_name":40,"create_tm":186},117767,"Experimenting with Emerging ARM and RISC-V Systems for Decentralised Machine Learning - Framework and Architecture Evaluation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834716109/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=YLLR4uFhszLgJET5JhpRQnAn7Ys%3D","experimenting-with-emerging-arm-and-risc-v-systems-for-decentralised-machine-learning-framework-and-architecture-evaluation",22,1785679458,{"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},83901,"Agent Data Injection Attacks Are Realistic Threats to AI Agents","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809006186/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=CviszJboZYYXeieoPHeeeBXVyXE%3D","agent-data-injection-attacks-are-realistic-threats-to-ai-agents",37,1784191323,{"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},128202,"HARDWARE TROJAN DETECTION IN OPEN-SOURCE HARDWARE DESIGNS USING MACHINE LEARNING","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229839608397/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=419631INWVdLgjPacoR0EjolMmE%3D","hardware-trojan-detection-in-open-source-hardware-designs-using-machine-learning",15,1785945533,{"doc_id":202,"doc_title":203,"file_type":137,"home_preview_img_url":204,"slug":205,"view_count":19,"category_name":40,"create_tm":206},691598,"Security Analysis of Contactless Payment Systems in Practice - Diplomarbeit","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002680044/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=IIL2bQjavRyAKFxC5ilZnIEB7v4%3D","security-analysis-of-contactless-payment-systems-in-practice-diplomarbeit",1794175264,{"doc_id":208,"doc_title":209,"file_type":137,"home_preview_img_url":210,"slug":211,"view_count":212,"category_name":40,"create_tm":213},81999,"Vectorizing Quantum Control: A RISC-V Vector Extension Architecture for Scalable Qubit Systems","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808659245/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=ow13AEBQwQKlD8g%2FqcTzW2SoAJQ%3D","vectorizing-quantum-control-a-risc-v-vector-extension-architecture-for-scalable-qubit-systems",27,1784177489,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":185,"category_name":40,"create_tm":219},81967,"HiFuzz Hierarchical Reinforcement Learning for Semantic-Aware and Adaptive CPU Fuzzing","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808657262/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=4RP4sb%2FMF%2FdU7DcO5wnOYjCJ8%2Bc%3D","hifuzz-hierarchical-reinforcement-learning-for-semantic-aware-and-adaptive-cpu-fuzzing",1784177332,{"doc_id":221,"doc_title":222,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":225,"category_name":40,"create_tm":226},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=1796111579&Signature=W2iPNFughhoYQXnEFG0KDHaOiOE%3D","xnx-gas-detector-calibration-2023",7896,1776136863,{"doc_id":228,"doc_title":229,"file_type":137,"home_preview_img_url":230,"slug":231,"view_count":232,"category_name":40,"create_tm":233},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=1796111579&Signature=wqZfwScueoEj8DquNAtfy36jhiQ%3D","sridevi-matka-chart-full-guide-to-panel-jodi-pana-records",6934,1776136851,{"doc_id":235,"doc_title":236,"file_type":137,"home_preview_img_url":237,"slug":238,"view_count":239,"category_name":40,"create_tm":240},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=1796111579&Signature=f3uhRm67qd8PdS9fbL0tGKBA234%3D","linear-algebra-and-its-applications-sixth-edition-david-c-lay-steven-r-lay-judi-j-mcdonald",5867,1788211707,{"doc_id":242,"doc_title":243,"file_type":137,"home_preview_img_url":244,"slug":245,"view_count":246,"category_name":40,"create_tm":247},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=1796111579&Signature=Fx7soqsA1Hjp59ucFbHWHQPDvpM%3D","healthcare-human-resources-management-blueprint-sdmk-20252029",1292,1780779716]