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
-
Followers498
-
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 873 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
Cleveland Bahringer @bahringer81935
1 Followers 171 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 163 Following CTO of https://t.co/9GnvLMxuzi, Ph.D. candidate, research in AI4SE.
Amie Fay @amie_fay59821
5 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
280 Followers 315 Following Research Associate @HKUniversity, CS Ph.D. @HongKongPolyU | Software Reliability and Security
Malakai @StromanHel99537
12 Followers 407 Following Case Evaluation: Evaluate potential cases, analyze the legal issues involved and possible compensation. https://t.co/Vdl458OAsY
🦁 Rafiki's Crew Sh... @aditzko
809 Followers 5K Following 🌍 Worldwide indie soul 🎮 | 🤘-based Sharing #serious #retro #indie #games 🌟 | #GoodVibes & #GameNotWar | 💥 #Creative community! | Founder of 4ce2be artisans
Matthew Alp @MatthewAlp
256 Followers 2K Following 🇨🇦 | Curious about compilers, databases, (noisy) systems of all sorts. Follows are footnotes, not endorsements
mrragava @mrragava
223 Followers 6K Following
River Dillon @k__monk
132 Followers 456 Following Interested in compilers, logic, and computer music, among other things.
max.rss @tekknolagi
2K Followers 900 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
13 Followers 1K Following
Brandoch @Brandoch1
0 Followers 67 Following
Leon @Leon87292348
44 Followers 1K Following
Phoughtha @phoughtha17389
16 Followers 2K Following
🇵🇸حمزة @Pen0xPen
96 Followers 601 Following
Latarsha @hughes32latarsh
661 Followers 3K Following
Sam Sanoop @snoopysecurity
618 Followers 688 Following segfaulting through life & learning security 📉. I also like websec, softwaresec and static analysis, working at @snyksec. prev: @mwrinfosecurity, @notsosecure
Thomas @Thomas317972710
13 Followers 221 Following
Harry Jaspion @sharkguto
45 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
121 Followers 1K Following
Karine Even-Mendoza @KarineEvenMend1
139 Followers 499 Following Computer scientist and a lucturer@KCL/Informatics
ppp @moth_gg
23 Followers 2K Following
Stefan @__stefan_r__
9 Followers 756 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
48 Followers 466 Following
moot @zhuyachao
21 Followers 864 Following
Karl Cloud @karl_cloud
3 Followers 267 Following
rathet @rath3t
7 Followers 324 Following PhD student in computation mechanics. Interested in maths and differential geometry.
Diego Caballero @dieg0_caballer0
58 Followers 258 Following
Amin Ya @AminYa74
367 Followers 638 Following Lead Software Engineer at @abacusai - DeepAgent, 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 415 Following
Aleques™ @_Aleques
158 Followers 409 Following Geek, C++ & Mobile developer. Father of 3. https://t.co/oy0UMAt9PI
Pablo Martin-Gomez @b0uska
791 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
257 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 873 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 652 Following C++ standards committee language evolution chair — WebAssembly co-instigator— https://t.co/kR60YklfRH
Andrew Myers @AndrewCMyers
5K Followers 296 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
87K Followers 194 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
139 Followers 499 Following Computer scientist and a lucturer@KCL/Informatics
SQLancer @sqlancer_dbms
335 Followers 5 Following SQLancer allows finding logic bugs in DBMS and is available at https://t.co/iFDO1vUk58.
🦋 Nicolas DUBIEN @ndubien
755 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
364 Followers 3K Following 🏳️🌈 welcome to the slam jam he/him #BlackLivesMatter fedi: @[email protected] cohost: @calebjasik bsky: @calebjasik.jasik.xyz
jon @jon_roelofs
393 Followers 446 Following tweets are provided as-if, and may or may not change observable behavior of my employer.
Jessica Paquette @barrelshifter
6K Followers 406 Following mostly on bsky/mastodon now, follow me there
Will @lmdbkraft
148 Followers 542 Following C | C++ | DevOps | x86 asm | Typescript | react | bash | debian | huge fan of lmdb | ubuntu | casual Magic: the gathering player | reader of WarHammer 40k
Saagar Jha @_saagarjha
5K Followers 158 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
814 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
962 Followers 573 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 639 Following Learning for Code @GoogleDeepMind 💭 Programming languages and machine learning
Andrew Gresyk @andrew_gresyk
89 Followers 193 Following Programmer, author and maintainer of https://t.co/rtkB3IHrLI library.
Troels Henriksen atha... @sigkill_dk
543 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 652 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 893 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
412 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 192 Following
matt godbolt is mostl... @mattgodbolt
16K 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 967 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 535 Following Assistant Professor at @S3DatCMU @SCSatCMU. PhD from @Berkeley_EECS. Connessiur of hot sauce.
(((Dan Kegel))) @dkegel
772 Followers 325 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 269 Following
John Wickerson @wicko3
1K Followers 787 Following Senior Lecturer at @ImperialEEE researching programming languages and hardware design. Personal account. Also @wicko3.bsky.social