{"repo":"marxin/cvise","free":true,"listed":false,"github":"https://github.com/marxin/cvise","clone":"git clone https://github.com/marxin/cvise.git","description":"Super-parallel Python port of the C-Reduce","language":"Rust","stars":346,"topics":["reduction","clang","parallel","gcc","comparison","crashes","developer-tools"],"license":null,"category":"dev-tools","readme_excerpt":"C-Vise About C-Vise is a super-parallel Python port of the C-Reduce. The port is fully compatible to the C-Reduce and uses the same efficient LLVM-based C/C++ reduction tool named clang delta . This project is looking for maintainers — reach out to [@marxin] if you're interested. C-Vise is a tool that takes a large C, C++ or OpenCL program that has a property of interest (such as triggering a compiler bug) and automatically produces a much smaller C/C++ or OpenCL program that has the same property. It is intended for use by people who discover and report bugs in compilers and other tools that process C/C++ or OpenCL code. The project also contains a simple wrapper cvise-delta which simulates the same behavior as original delta tool (but in super-parallel way). NOTE : C-Vise happens to do a pretty good job reducing the size of programs in languages other than C/C++, such as JavaScript and Rust. If you need to reduce programs in some other language, please give it a try. NOTE : Binary pass group ( --pass-group=binary ) contains an experimental pass that can reduce GCC's .gcda files. Speed Comparison I made a comparison for couple of GCC bug reports on my AMD Ryzen 7 2700X Eight-Core Processor machine with the following results: Test-case Size C-Vise Reduction C-Reduce Reduction Speed Up --- --- --- --- --- PR92516 6.5 MB 35m 77m 220% PR94523 2.1 MB 15m 33m 220% PR94632 3.3 MB 20m 28m 40% PR94937 8.5 MB 242m 303m 125% Installation See INSTALL.md. Usage example The C-Vise can be ","default_branch":null,"files":null,"tree":[],"storefront":"/r/marxin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/marxin/cvise/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}