[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-786520-105":59,"doc-detail-786520-en":130,"doc-similar-786520":165},{"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","julian-dunskus-ms-thesispdf","Julian-Dunskus-MS-Thesispdf","","This thesis develops a shared set of specifications for the most-used parts of the Rust Standard Library, enabling the Prusti verifier to reason about library calls without requiring users to locate or write ad hoc annotations. The work analyzes usage data from crates.io to prioritize methods, implements specifications and improvements to Prusti, and evaluates their coverage. The resulting specifications account for about one fifth of method calls in the dataset, while categorization of remaining unspecified calls helps guide future work. The research aims to make Rust program verification more accessible and practical for existing codebases.",{"@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/julian-dunskus-ms-thesispdf/786520/",{"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/julian-dunskus-ms-thesispdf/786520.png","ImageObject",300,407,{"name":92,"@type":93},"Jiven","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-12-05","2026-12-04",true,{"@type":102,"interactionType":103,"userInteractionCount":8},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem does the thesis address?","Question",{"text":112,"@type":113},"Prusti users often need to find or write specifications manually so the verifier can understand calls to external library code.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How were library methods selected for specification?",{"text":117,"@type":113},"The thesis gathered and evaluated usage data from crates.io to prioritize the most-used Rust Standard Library methods.",{"name":119,"@type":110,"acceptedAnswer":120},"What coverage do the new specifications achieve?",{"text":121,"@type":113},"They cover around one fifth of all method calls in the evaluated dataset.","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},786520,1796427849,{"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":8,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":31,"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":24,"preview_urls":144},1099513958607,"https://ap-avatar.wpscdn.com/avatar/100002390cf8733938c?x-image-process=image/resize,m_fixed,w_180,h_180&k=1778829742770036399","Annotating the Rust Standard Library with Speciﬁcations for Use in a Rust Veriﬁer  \nMaster’s Thesis  \nJulian Dunskus  \nSupervised by Aurel Bílý, Prof. Dr. Peter Müller Department of Computer Science, ETH Zürich Zürich, Switzerland  \nFebruary 2023  \nAbstract  \nPrusti is a veriﬁer for the Rust programming language aiming to improve accessibility of program veriﬁcation by being close to a Rust model. A major hindrance in adapting an existing project for veriﬁcation with Prusti was that, in order for Prusti to understand calls to library code, they had to be manually speciﬁed in an ad hoc fashion. We improve this situation by oﬀering speciﬁcations for the mostused parts of the Rust Standard Library, allowing users to rely on and contribute to a central repository of speciﬁcations rather than sourcing or writing them manually. To determine which methods to specify, we gathered and evaluated data from the large amount of code in Rust’s central package repository, [crates.io](crates.io). All told, the new speciﬁcations cover around one ﬁfth of all method calls across this dataset, and we further categorized the vast majority of currently unspeciﬁed calls to inform future speciﬁcation eﬀorts.  \nContents  \n1 Introduction 3  \n2 Background 5  \n2.1 Extern Specs .............................. 5  \n2.2 Type-Conditional Spec Reﬁnements .................. 6  \n2.3 Shipping Speciﬁcations with Prusti .................. 7  \n2.4 Qrates .................................. 8  \n2.5 Related Work .............................. 8  \n3 Approach 10  \n3.1 Prioritizing Most-Used Speciﬁcations ................. 10  \n3.1.1 Key Insights ........................... 11  \n3.2 Flexible Trait Speciﬁcations ...................... 12  \n4 Implementation 15  \n4.1 Data Gathering ............................. 15  \n4.1.1 Macros .............................. 16  \n4.1.2 Scaling .............................. 17  \n4.1.3 Evaluation ............................ 18  \n4.2 Speciﬁcation Writing .......................... 18  \n4.2.1 Option : : unwrap ...................... 19  \n4.2.2 Clone : : clone ........................ 20  \n4.2.3 Default : :default .................... 22  \n4.2.4 From\u003CT> and Into\u003CU> ................... 24  \n4.2.5 core : :mem : : size_of ................... 25  \n4.2.6 De ref, Index, etc....................... 27  \n4.2.7 Vec, String .......................... 28  \n4.2.8 Ranges & Comparisons ..................... 29  \n4.2.9 Option : : and ........................ 31  \n4.2.10 Other Limitations ........................ 31  \n4.3 Prusti Improvements .......................... 32  \n4.3.1 Type-Conditional Spec Reﬁnements .............. 32  \n4.3.2 Extern Specs .......................... 33  \n5 Evaluation 35  \n5.1 Speciﬁcation Progress .......................... 35  \n5.1.1 Macros .............................. 37  \n5.1.2 Conversions ........................... 38  \n5.1.3 Default ........................... 39  \n5.1.4 size_of ........................... 39  \n6 Conclusion 41  \n6.1 Future Work ............................... 42  \n6.1.1 Speciﬁcations .......................... 42  \n6.1.2 Qrates .............................. 43  \nA Open-Source Contributions 46  \nChapter 1 Introduction  \nAvoiding bugs in code has long been a goal of any software development process. To this end, programming languages are becoming ever more expressive, allowing users to express complex relationships between variables and gain compile-time guarantees of their code’s safety. Rust [1] is a modern systems programming language that prizes memory safety above all else, and leans heavily into these static safety guarantees.  \nNevertheless, there remain many properties of code that cannot be expressed in the type system or otherwise checked at compile time. This is where deductive veriﬁers come in, building on top of the language’s facilities to allow users to express additional properties of their code, which can be veriﬁed exhaustively without needing to run the code or otherwise test it.  \nOne such v","cbCaifLNre7WieHl","https://ap.wps.com/l/cbCaifLNre7WieHl","pdf",2503686,"English","# Introduction\n# Background\n## Extern Specs\n## Type-Conditional Spec Refinements\n## Shipping Specifications with Prusti\n## Qrates\n## Related Work\n# Approach\n## Prioritizing Most-Used Specifications\n## Flexible Trait Specifications\n# Implementation\n## Data Gathering\n## Specification Writing\n## Prusti Improvements\n# Evaluation\n## Specification Progress\n# Conclusion\n## Future Work\n# Open-Source Contributions","[{\"question\":\"What problem does the thesis address?\",\"answer\":\"Prusti users often need to find or write specifications manually so the verifier can understand calls to external library code.\"},{\"question\":\"How were library methods selected for specification?\",\"answer\":\"The thesis gathered and evaluated usage data from crates.io to prioritize the most-used Rust Standard Library methods.\"},{\"question\":\"What coverage do the new specifications achieve?\",\"answer\":\"They cover around one fifth of all method calls in the evaluated dataset.\"}]","Julian-Dunskus-MS-Thesispdf | PDF",126,[145,149,153,157,161],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-04/149e83c61a7e139d1ca128b6b4d34a78.webp",983,1390,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-04/da96b577f99b0992853383470f33c366.webp",982,1388,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-04/adbe0d3b7e7386a83d6188b9b8ae0471.webp",981,1387,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-04/83b1438cfa3290c4125c542bd463b383.webp",980,1385,{"page_no":24,"url":162,"width":163,"height":164},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-04/3bc2c1d7ce0b5a53255c1290365081be.webp",979,1384,{"list":166,"token":66},[167,174,181,186,192,198,204,210,217,223],{"doc_id":168,"doc_title":169,"file_type":137,"home_preview_img_url":170,"slug":171,"view_count":172,"category_name":40,"create_tm":173},84663,"Characterizing and Bridging the Diagnostic Gap in eBPF Verifier Rejections","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809195254/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796585159&Signature=X2PzE2qkR8%2FGV0OdYn1QTCZNI0Y%3D","characterizing-and-bridging-the-diagnostic-gap-in-ebpf-verifier-rejections",33,1784197546,{"doc_id":175,"doc_title":176,"file_type":137,"home_preview_img_url":177,"slug":178,"view_count":179,"category_name":40,"create_tm":180},121672,"Do Machine Learning Models Produce TypeScript Types That Type Check - TypeWeaver 研究评估","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836633369/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796585159&Signature=HwtxULb1olwxqOCq4cjzP395AAA%3D","do-machine-learning-models-produce-typescript-types-that-type-check-typeweaver-study",17,1785806133,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":183,"view_count":8,"category_name":40,"create_tm":185},786522,"russol-pldi23","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230057400648/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796585159&Signature=BEfHDF3oRT379gMYFmkUSPL3Y0c%3D",1796427852,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":39,"category_name":40,"create_tm":191},454806,"Early neural encoding of pitch drives cue weighting during speech perception","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229925051822/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796585159&Signature=QsG9ZP1pOLppPUs%2BB%2F8%2F1uWvZ2I%3D","early-neural-encoding-of-pitch-drives-cue-weighting-during-speech-perception",1790741393,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":39,"category_name":40,"create_tm":197},439337,"PICNIC web server for predicting proteins involved in biomolecular condensates","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229924257733/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796585159&Signature=SnjR2Bkbm%2FUhEEz77g%2FE%2BFOEwR0%3D","picnic-web-server-for-predicting-proteins-involved-in-biomolecular-condensates",1790688209,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":34,"category_name":40,"create_tm":203},599245,"The First-Year Library Instruction One-Shot - Part 5 - A Place for Caring","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229955365225/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796585159&Signature=8BEHyh1h0s8exm6s0pmjHjcUlq8%3D","the-first-year-library-instruction-one-shot-part-5-a-place-for-caring",1792088414,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":19,"category_name":40,"create_tm":209},497353,"Certified Program Synthesis with a Multi-modal Verifier","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229930561376/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796585159&Signature=AyvOiILnkuQjpCzwIK6r8APiIEI%3D","certified-program-synthesis-with-a-multi-modal-verifier",1790952680,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":215,"category_name":40,"create_tm":216},580145,"Project Report - From one-shots to assignment design: Developing library-led faculty development initiatives","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229953260718/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796585159&Signature=go9kRwSz2fwo5T0f1%2B8f0PnU358%3D","project-report-from-one-shots-to-assignment-design-developing-library-led-faculty-development-initiatives",12,1792037025,{"doc_id":218,"doc_title":219,"file_type":137,"home_preview_img_url":220,"slug":221,"view_count":215,"category_name":40,"create_tm":222},135015,"LIKE WARP AND WEFT - Examensarbete om skolbibliotekets bildningsfrämjande uppdrag i den målstyrda grundskolan","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229861976385/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796585159&Signature=EqwRZuwPsAjvf7KNOuM5VdXZ9nw%3D","like-warp-and-weft-thesis-on-school-librarians-bildung-promoting-role-in-outcome-based-compulsory-school",1787303180,{"doc_id":224,"doc_title":225,"file_type":137,"home_preview_img_url":226,"slug":227,"view_count":228,"category_name":40,"create_tm":229},83206,"Reasoning Consistency Scanning: Auditing Chain-of-Thought Validity in AI Safety Evaluations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808830110/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796585159&Signature=d7jgsNMbNcX8vMxaLMHsNvbLzy4%3D","reasoning-consistency-scanning-auditing-chain-of-thought-validity-in-ai-safety-evaluations",22,1784185936]