C-Reduce @creduce
I am C-Reduce, the shrinker of C/C++ programs. embed.cs.utah.edu/creduce/ Salt Lake City, UT, USA Joined June 2012-
Tweets288
-
Followers499
-
Following69
-
Likes386
Learn LLVM until I find a compiler job | Day 29 Both creduce and llvm-reduce are still running. Hopefully, the can finish by tomorrow morning.
@creduce My favorite version of this is github.com/maleadt/creduc… which can take an entire tree of Julia packages and apply creduce to it . Now I just need to figure out how to use Julia's parser to do smarter rewrites.
"You can use C-Reduce for any language" by Max Bernstein. bernsteinbear.com/blog/creduce/
Running creduce to try to minimize a test case for "clang produces different binaries when building natively on i386 vs cross-building from amd64". Only reduced from 2346 to 1727 lines so far, which makes me think this bug is hard to trigger.
I'll try anything!
I tried creduce to reduce a segfaulting test case and it reduced it to this 👍 #creduce #screenshotsaturday
I love working the night shift. 🌜 Thanks for the shout out!
I love working the night shift. 🌜 Thanks for the shout out!
@lemire You should use creduce to minimize that.
Thanks for the shout out!
@BruceDawson0xB @visualc You can make minimal repros using creduce fairly easily. Even with msvc, just do it under WSL and take advantage of the fact you can call native win32 programs. No advanced C++ skills necessary
creduce help text: --shaddap Suppress output about non-fatal internal errors [..] --sllooww Try harder to reduce, but perhaps take a long time to do so
Expectation: I have a bug, let me try to use C-Reduce to reduce it Reality: Run into a bug with C-Reduce itself Happy weekend I guess... Oh wait, it's just Thursday.
TFW the code creduce produces would probably not lead to a productive compiler bug report because it does weird things (like a null deref) that the original code doesn't do, but re-adding parts of the original code makes the bug you're trying to report not reproduce anymore...
@stephenrkell @SreepathiPai @creduce Thanks - for now I wrote a script that inlines specific #included files but does not actually preprocess, then I used @creduce to do a reduction on that code, and things are working nicely.
I'm having a @creduce problem: my source file has been preprocessed using clang-14, and now gcc-11 is complaining about it with errors like: error: two or more data types in declaration specifiers 214 | typedef float _Float32; Anyone know how to solve this?
Chomp chomp chomp!

Brendan Dolan-Gavitt @moyix
30K Followers 6K Following Building offsec agents: https://t.co/G9EtnC2Gl3 PGP https://t.co/3WXr0RfRkv
@[email protected] @shafikyaghmour
9K Followers 876 Following Compiler Engineer clang front end. Interests: C++, C, and undefined behavior. Martial Artist, Book Worm and Dad. @[email protected] he/him
Robert C. Seacord (@r... @RCS
5K Followers 2K Following SC22/WG14 (C Standards) Committee Convener. Standards Lead @Woven_Toyota. Author of Effective C and Secure Coding in C and C++. Slayer of trigraphs.
Eric Eide @eeide
2K Followers 2K Following Research Associate Professor, University of Utah Kahlert School of Computing • Personal account • Opinions my own • RTs not endorsements • @[email protected]
Manuel Rigger @RiggerManuel
3K Followers 2K Following https://t.co/xCKR0xa6W1 Assistant Professor @NUSComputing @test_nus; software engineering, systems, and programming languages.
Alexa VanHattum @avanhatt
2K Followers 1K Following Assistant Professor @Wellesley computer science. @CornellCIS PhD. Compilers + lightweight formal methods. she/her. [email protected] https://t.co/9UVghNn4e5
Zhendong Su @zhendongsu
3K Followers 1K Following Professor in Computer Science at ETH Zurich who is interested in PL/SE/DL/EdTech/Security and leads the Advanced Software Technologies (AST) Lab (@ast_eth)
Wilfred Hughes @_wilfredh
3K Followers 3K Following Programming language development, human factors, and a healthy dose of Emacs. Also https://t.co/faGheKDz69 and https://t.co/sqqeQ20uHV
Orplauasirk @Orplauasirk536
21 Followers 1K Following
Cleveland Bahringer @bahringer81935
1 Followers 173 Following Recruiting webshell engineers to penetrate websites, with a monthly salary of up to $100,000. If interested, please contact https://t.co/LhIO7zFtC4
Boyang Yang @buaabarty
106 Followers 162 Following CTO of https://t.co/9GnvLMxuzi, Ph.D. candidate, research in AI4SE.
Amie Fay @amie_fay59821
4 Followers 300 Following Hello. I'm Joey. Hope you can follow me and become friends.Insta:@jojo1992bbb https://t.co/sUsuzidnyh
Huaien ZHANG @AustinZhang_CS
283 Followers 313 Following CS Ph.D. @HongKongPolyU | Software Reliability and Security
Malakai @StromanHel99537
12 Followers 408 Following Case Evaluation: Evaluate potential cases, analyze the legal issues involved and possible compensation. https://t.co/Vdl458OAsY
🦁 Rafiki's Crew Sh... @aditzko
813 Followers 5K Following 🌍 Worldwide indie soul 🎮 | 🤘-based Sharing #serious #retro #indie #games 🌟 | #GoodVibes & #GameNotWar | 💥 #Creative community! | Founder of 4ce2be artisans
Matthew Alp @MatthewAlp
257 Followers 2K Following 🇨🇦 | Curious about compilers, databases, (noisy) systems of all sorts. Follows are footnotes, not endorsements
mrragava @mrragava
219 Followers 5K Following
River Dillon @k__monk
129 Followers 450 Following Interested in compilers, logic, and computer music, among other things.
max.rss @tekknolagi
2K Followers 896 Following Bread, beans, programming languages; fmr Chief Potato; he/him; cover photo credit xkcd proud owner of https://t.co/kUeNYzHHut https://t.co/q3ainEJ9sW
Duane Binder @h5w48xtp8j
0 Followers 53 Following
Seesho @SeeshoWudwJ
12 Followers 1K Following
Brandoch @Brandoch1
0 Followers 67 Following
Leon @Leon87292348
45 Followers 1K Following
Phoughtha @phoughtha17389
16 Followers 2K Following
🇵🇸حمزة @Pen0xPen
96 Followers 602 Following
Latarsha @hughes32latarsh
660 Followers 3K Following
Sam Sanoop @snoopysecurity
619 Followers 689 Following segfaulting through life & learning security 📉. I also like websec, softwaresec and static analysis, working at @snyksec. prev: @mwrinfosecurity, @notsosecure
Thomas @Thomas317972710
12 Followers 222 Following
Harry Jaspion @sharkguto
46 Followers 2K Following Tech Lead | Solutions Architect | Python Developer & DevOps Engineer Hard Rock, Glam Metal, Heavy Metal Best band ever: Mr. Big
std::cat @stdcat
35 Followers 555 Following #cplusplus #cpp #gamedev #indiegame #indiegamedev #retrogame
Martin @mjo
122 Followers 1K Following
Karine Even-Mendoza @KarineEvenMend1
137 Followers 500 Following Computer scientist and a lucturer@KCL/Informatics
ppp @moth_gg
23 Followers 2K Following
Stefan @__stefan_r__
9 Followers 755 Following
Victor Ciura @ciura_victor
4K Followers 674 Following Technical Lead for Rust Program @ Microsoft • C++ ↔️ Rust Tooling (DevDiv), ex @visualc team, ex @caphyon, ex @advinst lead, @ClangPowerTools creator, he/him
Bohdan @halfbeardedman
49 Followers 465 Following
moot @zhuyachao
20 Followers 861 Following
Karl Cloud @karl_cloud
3 Followers 266 Following
rathet @rath3t
7 Followers 324 Following PhD student in computation mechanics. Interested in maths and differential geometry.
Diego Caballero @dieg0_caballer0
58 Followers 259 Following
Amin Ya @AminYa74
366 Followers 631 Following CodeLLM - Software Engineer at @abacusai, Ex-Robotics Control Engineer at @TheSanctuaryAI, MSc in Robotics/Aerospace Eng, Musician 🎼 🎸
El Rey Nikochan @El_Rey_Nikochan
0 Followers 179 Following Monarca espacial. Porque tener el culo cerca de la cabeza ayuda a tener mejores ideas
🐿 @manukoch
1 Followers 414 Following
Aleques™ @_Aleques
158 Followers 410 Following Geek, C++ & Mobile developer. Father of 3. https://t.co/oy0UMAt9PI
Pablo Martin-Gomez @b0uska
795 Followers 2K Following Wannabe hacker, libriste et troll commonisto-libéral #ForTheLulz. I ❤ teh Internetz and 🦄. Bruxellois de ❤, francilien malgré lui. Ex futur ingénieur.
Ahmed Moubtahij @ahmed_moubtahij
254 Followers 1K Following ing., MSc., NLP/Applied ML Engineer. ''Focus is a matter of deciding what things you're not going to do'' - John Carmack. Opinions my own.
Brendan Dolan-Gavitt @moyix
30K Followers 6K Following Building offsec agents: https://t.co/G9EtnC2Gl3 PGP https://t.co/3WXr0RfRkv
@[email protected] @shafikyaghmour
9K Followers 876 Following Compiler Engineer clang front end. Interests: C++, C, and undefined behavior. Martial Artist, Book Worm and Dad. @[email protected] he/him
@ericniebler.bsky.soc... @ericniebler
12K Followers 138 Following C++ core compute libraries tech lead at @nvidia, husband, father, @isocpp member, former nomad, and sometimes artist wannabe. Views are mine, not my employer's
JF Bastien @jfbastien
12K Followers 647 Following C++ standards committee language evolution chair — WebAssembly co-instigator— https://t.co/kR60YklfRH
Andrew Myers @AndrewCMyers
5K Followers 295 Following Professor, Cornell Department of Computer Science. Programming Languages, Security, Systems. All opinions my own.
Jonathan Müller @foonathan
12K Followers 70 Following C++, compilers, and programming languages. Library developer @thinkcell, chair for std::ranges at @isocpp. @[email protected]
Eric Eide @eeide
2K Followers 2K Following Research Associate Professor, University of Utah Kahlert School of Computing • Personal account • Opinions my own • RTs not endorsements • @[email protected]
Manuel Rigger @RiggerManuel
3K Followers 2K Following https://t.co/xCKR0xa6W1 Assistant Professor @NUSComputing @test_nus; software engineering, systems, and programming languages.
Chris Lattner @clattner_llvm
86K Followers 189 Following Building beautiful things like Mojo🔥 and MAX @Modular, lifting the world of production AI/ML software into a new phase of innovation. We’re hiring! 🚀🧠
Alexa VanHattum @avanhatt
2K Followers 1K Following Assistant Professor @Wellesley computer science. @CornellCIS PhD. Compilers + lightweight formal methods. she/her. [email protected] https://t.co/9UVghNn4e5
Zhendong Su @zhendongsu
3K Followers 1K Following Professor in Computer Science at ETH Zurich who is interested in PL/SE/DL/EdTech/Security and leads the Advanced Software Technologies (AST) Lab (@ast_eth)
Eddie Kohler @xexd
2K Followers 383 Following Ass, Professor. Gay. “Wow, A+++ would rely on the services of Eddie "Monkey Bounty Hunter" Kohler again” —@moyix. They (or he)
Karine Even-Mendoza @KarineEvenMend1
137 Followers 500 Following Computer scientist and a lucturer@KCL/Informatics
SQLancer @sqlancer_dbms
337 Followers 5 Following SQLancer allows finding logic bugs in DBMS and is available at https://t.co/iFDO1vUk58.
🦋 Nicolas DUBIEN @ndubien
756 Followers 1K Following Author of https://t.co/rIDypkxPH7 ∙ Lead Principal Software Engineer @GoPigment ∙ Opinions are my own ∙ 🦋 https://t.co/wfMTgAqXm8
Stefan Nagy @snagycs
1K Followers 1K Following Faculty @uutah. My lab hunts bugs: https://t.co/R74Wl128A9. Mastodon: [email protected] Bluesky: https://t.co/6sKvEYpXMF
@[email protected] on... @calebjasik
370 Followers 3K Following 🏳️🌈 welcome to the slam jam he/him #BlackLivesMatter fedi: @[email protected] cohost: @calebjasik bsky: @calebjasik.jasik.xyz
jon @jon_roelofs
395 Followers 446 Following tweets are provided as-if, and may or may not change observable behavior of my employer.
Jessica Paquette @barrelshifter
6K Followers 408 Following mostly on bsky/mastodon now, follow me there
Will @lmdbkraft
145 Followers 520 Following C | C++ | DevOps | x86 asm | node | Typescript | react | bash | debian | huge fan of lmdb | ubuntu
Saagar Jha @_saagarjha
5K Followers 159 Following
fasterthanlime (find ... @fasterthanlime
31K Followers 353 Following hi, I'm amos! 🍃 they/them 🐿️ co-host of https://t.co/pBmj7XFdNi 🫐 teacher, video maker, software mercenary ✨ be kind, be curious
🇺🇦 Ingvar Stepa... @RReverser
8K Followers 1K Following OSS devtools, ex-Google Chrome, ex-Cloudflare, these days actively working in the WebAssembly land. Not here anymore, find me on Bluesky.
William J. Bowman @wi... @wilbowma
3K Followers 229 Following Paren-wielding facebook-theorist, PhD. Sith Lord of Compilers. Asst. Prof. at UBC. This account is deprecated.
Jed Davis 🏳️�... @xlerb
816 Followers 1K Following “Perhaps you're just different. Not a sin, you know — though you may have heard otherwise.” https://t.co/DnxUM7SmY1
Fabio Pagani @pagabuc
941 Followers 567 Following Vulnerability Research Lead @binarly_io. Prev: Postdoc @ucsantabarbara. Binary analysis, memory forensics et al. Captures flags with Shellphish and NOPS.
Dan Zheng @dancherp
1K Followers 638 Following Learning for Code @GoogleDeepMind 💭 Programming languages and machine learning
Andrew Gresyk @andrew_gresyk
87 Followers 192 Following Programmer, author and maintainer of https://t.co/rtkB3IHrLI library.
Troels Henriksen atha... @sigkill_dk
545 Followers 172 Following Hacker in academia. I think deterministic parallel programming is just great! I work on https://t.co/EDD6IfUdTw
Dominik Winterer @DominikWinterer
1K Followers 649 Following Lecturer (Assistant Professor) at University of Manchester | Making Formal Methods better and more practical 👩🎓👨🎓 Looking for PhD students!
Joe Gibbs Politz @JoePolitz
1K Followers 1K Following When not programming or teaching CS @ucsd_cse, I go to the dog beach. Spending more time as 🟦 https://t.co/k4HOSHhpwb these days. https://t.co/4skMx005C5 | https://t.co/v4f2VUk4D2
Chengyu Zhang @chengyuzh
510 Followers 414 Following Lecturer (Assistant Professor) at @lborouniversity. Software Engineering, Programming Languages, and Formal Methods. 🙌 Looking for PhD and visiting students.
Alon Zakai @kripken
6K Followers 896 Following Created Emscripten&Binaryen, co-created WebAssembly. Google. Opinions my own, not my company's. Bluesky&Mastodon links in: https://t.co/mRoX5Kjh3I he/they
yinyang-project @testsmtsolvers
410 Followers 413 Following Regular tweets on interesting bugs in the SMT solvers Z3 and CVC4 (@cvc5_solver) Tool: https://t.co/yg7OJwFw7y
Martin Liška @marxin_liska
96 Followers 191 Following
matt godbolt is mostl... @mattgodbolt
15K Followers 2K Following Husband, father, coder, sometime verb, real person. Fond of old hardware. Co-host @twoscp. #BlackLivesMatter. @matt.godbolt.org on bsky He/him
cassie @porglezomp
2K Followers 968 Following Cassie. Likes programming languages, compilers, types, formal logic, girls (and, everything). They/them or she/her. 25. https://t.co/nqey4hZyAJ
Rohan Padhye @moarbugs
2K Followers 536 Following Assistant Professor at @S3DatCMU @SCSatCMU. PhD from @Berkeley_EECS. Connessiur of hot sauce.
(((Dan Kegel))) @dkegel
775 Followers 324 Following Software engineer with a dusty biology & engineering degree. Science and climate advocate. https://t.co/EQX0jLTphg
practicalswift (Thoma... @practicalswift
5K Followers 228 Following This account is on break until at least 2021-12-31. E-mail: thomas.j.bitcoin at protonmail dot tld
Cristian Cadar @c_cadar
1K Followers 270 Following
John Wickerson @wicko3
1K Followers 789 Following Senior Lecturer at @ImperialEEE researching programming languages and hardware design. Personal account. Also @wicko3.bsky.social