[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-82132-en":3,"doc-seo-82132-105":29,"detail-sidebar-cat-0-en-105":90},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":4,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":13,"seo_description":14,"update_tm":27,"read_time":28},82132,1099514067438,"River Wang","https://ap-avatar.wpscdn.com/avatar/100002539ee87300030?x-image-process=image/resize,m_fixed,w_180,h_180&k=1780474512215547542",8,"Research & Report","Loop-Based Slicing and Input-Driven Concretization: An Empirical Study of Termination and Non-Termination Analysis","Termination and non-termination are core correctness properties, yet verifying them in real-world C code is hindered by complex loop interactions and environment-driven nondeterministic inputs. The paper provides an empirical evaluation of lightweight, tool-independent source-level preprocessing for (non-)termination analysis. It introduces FOCUSTNT, combining loop-based slicing and input-driven concretization, and tests six configurations across 117 C/C++ programs and six analyzers, analyzing correctness, diagnostics, sensitivity, runtime, semantic scope, and integration guidance.","Loop-Based Slicing and Input-Driven Concretization: An Empirical Study of Termination and Non-Termination Analysis  \nNegar Fathi, Rahul Purandare, Tachio Terauchi, and Hiroshi Unno  \narXiv :2607 .08988v 1 [ cs . SE] 9 Jul 2026  \nAbstract—Termination and non-termination are fundamental correctness properties, but verifying them in real-world C programs remains difficult because loop interactions and nondeterministic inputs challenge existing analyzers. This paper presentsan empirical study of lightweight, tool-independent source-level preprocessing for (non-)termination analysis. We implement FOCUSTNT, a C front end that applies loop-based slicing to isolate loop-level obligations and input-driven concretization to specialize nondeterministic inputs into selected input-scenario variants. We evaluate slicing, concretization, and their combination across six analyzers on 117 C/C++ programs derived from real-world non-termination bugs and their fixes. The study examines effects on analyzer correctness, complementarity with original-program analysis, loop-level diagnostics, feature sensitivity, runtime behavior, semantic scope, and integration potential. Results show that preprocessing is not uniformly beneficial: its impact depends on the analyzer, task, and program features. Slicing provides conservative structural isolation and localization, whereas concretization can improve detectability for selected scenarios but narrows semantic scope and may increase analysis effort. Their combination is not consistently additive. Overall, the results support adaptive use of preprocessing as a complement to original-program analysis and provide practical guidance to application developers interpreting verification outcomes and tool developers improving analyzer robustness.  \nIndex Terms—Termination Analysis, Non-Termination Analysis, Program Slicing, Concretization, Program Preprocessing, Empirical Evaluation.  \nI. INTRODUCTION  \nTermination and non-termination are fundamental correctness properties in program analysis, especially for systems software where infinite execution can compromise responsiveness and reliability [1], [2] . Failure to establish termination can also obstruct verification tasks that assume eventual return, such as liveness reasoning and compositional arguments [1] . In practice, proving (non-)termination remains difficult because loops are often embedded in large, semantically noisy contexts that obscure the statements and dependencies most relevant to termination behavior [1], [2] . Environment-driven nondeterminism further complicates analysis by exposing many inputdependent behaviors, only some of which may matter for a particular (non-)termination outcome [3], [4], [2] .  \nN. Fathi and R. Purandare are with the University of Nebraska– Lincoln, Lincoln, NE, USA. Email addresses: [nfathi2@huskers.unl.edu](nfathi2@huskers.unl.edu), [rahul@unl.edu](rahul@unl.edu).  \nT. Terauchi is with Waseda University, Tokyo, Japan. Email: ter[auchi@waseda.jp](auchi@waseda.jp).  \nH. Unno is with Tohoku University, Sendai, Japan. Email: hi[roshi.unno@acm.org](roshi.unno@acm.org).  \nStatic analyzers address termination properties by constructing proofs that generalize across executions, combining abstraction [5], [6], invariant inference [7], [8], [9], rankingfunction synthesis [10], [11], [8], [12], [13], recurrence reasoning [14], [15], [4], [6], and solver-based back ends [4],[3], [9] . Although such tools perform well on established benchmarks such as TermCOMP [16] and SV-COMP [17], prior studies show that they still struggle on programs derived from real-world non-termination bugs, where complex program context, nondeterministic inputs, and C/C++-specific features make proof construction difficult [18],[19] . Dynamic approaches complement static analysis by using concrete executions to expose input-specific (non-)termination behaviorsand generate witnesses when divergence depends on particular input patterns [20], [21], [22] . Ho","cbCaigvhVbwm48FG","https://ap.wps.com/l/cbCaigvhVbwm48FG","pdf",1389833,1,18,"English","en",105,"# Introduction\n# Empirical Evaluation Setup\n## Preprocessing Approach (FOCUSTNT)\n## Analyzer Configurations and Datasets\n## Evaluation Dimensions and Metrics","[{\"question\":\"What preprocessing techniques does the paper evaluate for (non-)termination analysis?\",\"answer\":\"It evaluates loop-based slicing to isolate loop-relevant obligations and input-driven concretization to specialize nondeterministic inputs into selected input-scenario variants, both individually and combined.\"},{\"question\":\"How is the evaluation conducted in the study?\",\"answer\":\"The study uses FOCUSTNT and compares four configurations—BASE, SLICE, CNCRT, and SLICE+CNCRT—across six analyzers on 117 C/C++ programs derived from real-world non-termination bugs and their fixes.\"},{\"question\":\"What overall conclusions does the paper draw about the usefulness of preprocessing?\",\"answer\":\"Preprocessing is not uniformly beneficial; its impact depends on the analyzer, task, and program features. Slicing provides conservative structural isolation, concretization can improve detectability for selected scenarios but narrows semantic scope, and combining them is not consistently additive.\"}]",1784178374,45,{"code":4,"msg":30,"data":31},"ok",{"site_id":24,"language":23,"slug":32,"title":13,"keywords":33,"description":14,"schema_data":34,"social_meta":85,"head_meta":87,"extra_data":89,"updated_unix":27},"loop-based-slicing-and-input-driven-concretization-an-empirical-study-of-termination-and-non-termination-analysis","",{"@graph":35,"@context":84},[36,53,67],{"@type":37,"itemListElement":38},"BreadcrumbList",[39,43,47,50],{"item":40,"name":41,"@type":42,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":44,"name":45,"@type":42,"position":46},"https://docshare.wps.com/document/","Document",2,{"item":48,"name":12,"@type":42,"position":49},"https://docshare.wps.com/document/research-report/",3,{"item":51,"name":13,"@type":42,"position":52},"https://docshare.wps.com/document/loop-based-slicing-and-input-driven-concretization-an-empirical-study-of-termination-and-non-termination-analysis/82132/",4,{"url":51,"name":13,"@type":54,"author":55,"headline":13,"publisher":57,"fileFormat":60,"inLanguage":23,"description":14,"dateModified":61,"datePublished":61,"encodingFormat":60,"isAccessibleForFree":62,"interactionStatistic":63},"DigitalDocument",{"name":9,"@type":56},"Person",{"url":40,"name":58,"@type":59},"DocShare","Organization","application/pdf","2026-07-16",true,{"@type":64,"interactionType":65,"userInteractionCount":4},"InteractionCounter",{"@type":66},"ViewAction",{"@type":68,"mainEntity":69},"FAQPage",[70,76,80],{"name":71,"@type":72,"acceptedAnswer":73},"What preprocessing techniques does the paper evaluate for (non-)termination analysis?","Question",{"text":74,"@type":75},"It evaluates loop-based slicing to isolate loop-relevant obligations and input-driven concretization to specialize nondeterministic inputs into selected input-scenario variants, both individually and combined.","Answer",{"name":77,"@type":72,"acceptedAnswer":78},"How is the evaluation conducted in the study?",{"text":79,"@type":75},"The study uses FOCUSTNT and compares four configurations—BASE, SLICE, CNCRT, and SLICE+CNCRT—across six analyzers on 117 C/C++ programs derived from real-world non-termination bugs and their fixes.",{"name":81,"@type":72,"acceptedAnswer":82},"What overall conclusions does the paper draw about the usefulness of preprocessing?",{"text":83,"@type":75},"Preprocessing is not uniformly beneficial; its impact depends on the analyzer, task, and program features. Slicing provides conservative structural isolation, concretization can improve detectability for selected scenarios but narrows semantic scope, and combining them is not consistently additive.","https://schema.org",{"og:url":51,"og:type":86,"og:title":13,"og:site_name":58,"og:description":14},"article",{"robots":88,"canonical":51},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":91},[92,96,100,104,109,114,119,122,127,130,134],{"id":20,"doc_module":4,"doc_module_name":45,"category_name":93,"show_sort_weight":94,"slug":95},"Story & Novel",90,"story-novel",{"id":46,"doc_module":4,"doc_module_name":45,"category_name":97,"show_sort_weight":98,"slug":99},"Literature",80,"literature",{"id":52,"doc_module":4,"doc_module_name":45,"category_name":101,"show_sort_weight":102,"slug":103},"Exam",70,"exam",{"id":105,"doc_module":4,"doc_module_name":45,"category_name":106,"show_sort_weight":107,"slug":108},5,"Comic",60,"comic",{"id":110,"doc_module":4,"doc_module_name":45,"category_name":111,"show_sort_weight":112,"slug":113},6,"Technology",50,"technology",{"id":115,"doc_module":4,"doc_module_name":45,"category_name":116,"show_sort_weight":117,"slug":118},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":45,"category_name":12,"show_sort_weight":120,"slug":121},30,"research-report",{"id":123,"doc_module":4,"doc_module_name":45,"category_name":124,"show_sort_weight":125,"slug":126},9,"Religion & Spirituality",20,"religion-spirituality",{"id":125,"doc_module":4,"doc_module_name":45,"category_name":128,"show_sort_weight":125,"slug":129},"World Cup","world-cup",{"id":131,"doc_module":4,"doc_module_name":45,"category_name":132,"show_sort_weight":131,"slug":133},10,"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":45,"category_name":136,"show_sort_weight":105,"slug":137},19,"General","general"]