[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-692470-105":59,"doc-detail-692470-en":130,"doc-similar-692470":154},{"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","fixing-7400-bugs-for-1-cheap-crash-site-program-repair","Fixing 7,400 Bugs for 1$ - Cheap Crash-Site Program Repair","","Rapid progress in bug-finding techniques reveals vulnerabilities faster than developers can fix them, while modern bugs are too complex for reliable precise root-cause analysis. This work proposes crash-site repair to simplify the task and still reduce exploitation risk, plus template-guided patch generation that lowers Large Language Model token cost without harming efficiency. A prototype, WILLIAMT, evaluated against leading APR tools shows 45.9% lower token cost and 73.5% (+29.6%) bug-fixing on ARVO, and effective repair using only a local Mac M4 Mini model.",{"@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/fixing-7400-bugs-for-1-cheap-crash-site-program-repair/692470/",{"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/fixing-7400-bugs-for-1-cheap-crash-site-program-repair/692470.png","ImageObject",300,407,{"name":92,"@type":93},"naya.afterrain","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-13","2026-11-09",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 automated program repair (APR) methods needed?","Question",{"text":112,"@type":113},"Bug discovery via fuzzing increasingly outpaces developers’ ability to fix vulnerabilities, creating an urgent backlog. Even post-fix verification can trigger new bugs, worsening the mismatch between discovery and repair rates.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What is crash-site repair in this paper’s approach?",{"text":117,"@type":113},"Instead of fixing bugs at the root cause, crash-site repair adds lightweight checks (e.g., assertions) right before the crash site to block immediate exploitation. This buys developers time for deeper investigation while containing the threat.",{"name":119,"@type":110,"acceptedAnswer":120},"How does WILLIAMT reduce the cost of using LLMs?",{"text":121,"@type":113},"WILLIAMT uses regular-expression-based methods for fault localization and patch generation, and relies on LLM usage only when root-cause analysis is necessary. It also constrains patch generation via templates to reduce token cost while keeping effectiveness.","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},692470,1794209797,{"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":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":14,"preview_urls":145},962094248482,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","Fixing 7,400 Bugs for 1$: Cheap Crash-Site Program Repair  \narXiv :2505 . 13103v2 [ cs . SE] 24 May 2025  \nHan Zheng  \nEPFL Lausanne, Switzerland [han.zheng@epfl.ch](han.zheng@epfl.ch)  \nIlia Shumailov  \nGoogle DeepMind London, UK  \n[iliashumailov@google.com](iliashumailov@google.com)  \nTianqi Fan  \nGoogle Zurich, Switzerland [tqfan@google.com](tqfan@google.com)  \nAiden Hall  \nGoogle New York, USA [aidenhall@google.com](aidenhall@google.com)  \nMathias Payer  \nEPFL Lausanne, Switzerland [mathias.payer@nebelwelt.net](mathias.payer@nebelwelt.net)  \nAbstract  \nThe rapid advancement of bug-finding techniques has led to the discovery of more vulnerabilities than developers can reasonably fix, creating an urgent need for effective Automated Program Repair (APR) methods. However, the complexity of modern bugs often makes precise root cause analysis difficult and unreliable.  \nTo address this challenge, we propose crash-site repair to simplify the repair task while still mitigating the risk of exploitation. In addition, we introduce a templateguided patch generation approach that significantly reduces the token cost of Large Language Models (LLMs) while maintaining both efficiency and effectiveness.  \nWe implement our prototype system, WILLIAMT, and evaluate it against state-ofthe-art APR tools. Our results show that, when combined with the top-performing agent CodeRover-S, WILLIAMT reduces token cost by 45.9% and increases the bug-fixing rate to 73.5%(+29.6%) on ARVO, a ground-truth open source software vulnerabilities benchmark. Furthermore, we demonstrate that WILLIAMT can function effectively even without access to frontier LLMs: even a local model running on a Mac M4 Mini achieves a reasonable repair rate. These findings highlight the broad applicability and scalability of WILLIAMT.  \n1 Introduction  \nModern software systems are extremely complex. While this ever-increasing complexity enables richer functionality, it simultaneously introduces a significant number of (exploitable) vulnerabilities [32, 3, 4, 23, 41, 29, 52] . To proactively safeguard users from malicious threats, fuzzing [58, 12, 25, 62, 61] emerged to automate the bug finding. Over the years fuzzing demonstrated its extreme usefulness and efficiency even in the most complex and security-critical systems, including but not limited to web browsers [55, 63, 19, 50], Linux kernels [17, 13], MacOS [65, 57], Hypervisors [35, 27, 5, 28] and Trust Execution Environments [51] . However, the advancementsin fuzzing also increase demands on developers tasked with fixing the discovered vulnerabilities. For example, despite extensive maintenance efforts, more than 1,500 kernel bug reports remain unresolved on Syzbot [44] . Modern fuzzers uncover vulnerabilities at a pace that far outstrips the ability of developers to address them. What is worse, the process of fixing bugs requires renewed fuzzing efforts to check the fixes, which in turn often reveals additional bugs.  \nThis growing discrepancy between the bug discovery and bug fix rate has led to a backlog that exceeds developers’ capacity to triage and remediate effectively [24] . These challenges underscore  \nPreprint. Under review.  \nthe urgent need for Automated Program Repair (APR) solutions. Even imperfect, such solutions would significantly improve the security of our systems and allow the developers to focus on the most complex of bugs. Recent advancements in Large Language Models (LLMs) [47, 26, 20, 1, 34] offera promising direction for addressing this challenge. Leveraging the capabilities of LLMs, a variety of novel Automatic Program Repair (APR) techniques have emerged [60, 22, 21, 45, 59] .  \nDespite their promise, current APR agents struggle as they attempt to address bugs by identifying and fixing their root causes. This strategy is often impractical – root cause analysis is inherently complex, if not impossible, and typically requires expensive, heavyweight LLM backends, making it difficult for individual devel","cbCaib659Lm2uuCt","https://ap.wps.com/l/cbCaib659Lm2uuCt","pdf",718795,18,"English","# Abstract\n# 1 Introduction\n## Automated Program Repair under scale constraints\n## Crash-site repair and template-guided patch generation\n## WILLIAMT system overview and evaluation setup","[{\"question\":\"Why are automated program repair (APR) methods needed?\",\"answer\":\"Bug discovery via fuzzing increasingly outpaces developers’ ability to fix vulnerabilities, creating an urgent backlog. Even post-fix verification can trigger new bugs, worsening the mismatch between discovery and repair rates.\"},{\"question\":\"What is crash-site repair in this paper’s approach?\",\"answer\":\"Instead of fixing bugs at the root cause, crash-site repair adds lightweight checks (e.g., assertions) right before the crash site to block immediate exploitation. This buys developers time for deeper investigation while containing the threat.\"},{\"question\":\"How does WILLIAMT reduce the cost of using LLMs?\",\"answer\":\"WILLIAMT uses regular-expression-based methods for fault localization and patch generation, and relies on LLM usage only when root-cause analysis is necessary. It also constrains patch generation via templates to reduce token cost while keeping effectiveness.\"}]","Fixing 7,400 Bugs for 1$ - Cheap Crash-Site Program Repair | PDF",45,[146,150],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/d52b3181896d6f732acb0a66df188cb1.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/2f061a2b79d8249d773d4281c6d7f506.webp",982,1270,{"list":155,"token":66},[156,163,170,177,184,191,198,205,212,219],{"doc_id":157,"doc_title":158,"file_type":137,"home_preview_img_url":159,"slug":160,"view_count":161,"category_name":40,"create_tm":162},119419,"Synergising Program Analysis and Machine Learning for Program Repair","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835128203/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110259&Signature=15Rz50fEPwdJ5NH354Vp3670K0M%3D","synergising-program-analysis-and-machine-learning-for-program-repair",24,1785724202,{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":168,"category_name":40,"create_tm":169},85025,"Bug Report Specification Refinement with Trajectory Guidance for Automated Program Repair","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809286135/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110259&Signature=PeyBvC0xBSnOlTSEhFbo4xjqSx0%3D","bug-report-specification-refinement-with-trajectory-guidance-for-automated-program-repair",26,1784200465,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":175,"category_name":40,"create_tm":176},83269,"What Makes a Good Bug Report for an AI Agent","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808957608/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110259&Signature=pcGeHRrJtRncVdb3A2YH272%2Bf0Y%3D","what-makes-a-good-bug-report-for-an-ai-agent",31,1784186411,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":182,"category_name":40,"create_tm":183},82404,"Writing Bug Reports for Software Repair Agents: What Information Matters Most","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808738768/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110259&Signature=RBqrng78w1sVmlXojIxteEPda6Y%3D","writing-bug-reports-for-software-repair-agents-what-information-matters-most",28,1784180157,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":189,"category_name":40,"create_tm":190},118589,"Classifying Bugs in Code Using Machine Learning Models - Bachelor’s Thesis","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834758172/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110259&Signature=bH2Vaqqb4o7aGzCB7lgczVQt0J4%3D","classifying-bugs-in-code-using-machine-learning-models-bachelors-thesis",21,1785684405,{"doc_id":192,"doc_title":193,"file_type":137,"home_preview_img_url":194,"slug":195,"view_count":196,"category_name":40,"create_tm":197},82527,"Rise From The Ashes LLM-based Static Analysis for Deep Learning Framework Bugs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808758055/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110259&Signature=8%2Bef07X4dUymnLPGlrtoGShqU0o%3D","rise-from-the-ashes-llm-based-static-analysis-for-deep-learning-framework-bugs",29,1784181258,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":203,"category_name":40,"create_tm":204},119650,"SemetonBug - Next-Generation Machine Learning-Powered Code Analyzer for Precision Bug Detection and Dynamic Error Localization","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835058547/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110259&Signature=wvNDgO8xo99Nn9qbXmYwchxJOs0%3D","semetonbug-next-generation-machine-learning-powered-code-analyzer-for-precision-bug-detection-and-dynamic-error-localization",23,1785725468,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":210,"category_name":40,"create_tm":211},273383,"STS - Efficient Sparse Attention with Speculative Token Sparsity","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899931880/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110259&Signature=zHxhbHiQuwHWXOPa4QsIhRTWem4%3D","sts-efficient-sparse-attention-with-speculative-token-sparsity",16,1789471160,{"doc_id":213,"doc_title":214,"file_type":137,"home_preview_img_url":215,"slug":216,"view_count":217,"category_name":40,"create_tm":218},82458,"Synergistic Perception-Reasoning Governance: Grounding Medical MLLMs with Verifiable Anatomical Evidence","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808745735/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110259&Signature=juLQNjhp0qnAlmY18Zl%2Fr9lfdmw%3D","synergistic-perception-reasoning-governance-grounding-medical-mllms-with-verifiable-anatomical-evidence",39,1784180591,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":224,"category_name":40,"create_tm":225},273514,"Token Optimization and Context Window Management in Multi-Agent AI Workflows - Practitioner Framework and Results","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899944245/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110259&Signature=vSYLggJPKcrEwj%2B3JWcYvrrq71M%3D","token-optimization-and-context-window-management-in-multi-agent-ai-workflows-practitioner-framework-and-results",17,1789471815]