David Malcolm

Results 100 comments of David Malcolm

Looking at firewoes, presumably you mean the xml files in: https://github.com/Debian/firewoes/tree/master/tests/data , right? I think I'd like some test cases that use the xml files in the firehose "examples" directory,...

A UX idea from a lurker: colorize the SELinux labels to indicate to the user if a file is **mislabeled**. Mislabeled files are one of the top causes of problems...

> Ha, @davidmalcolm -- now you beat me to that one, great! I had seen your GCC master branch commit 0b14f590e3e9d95b8211b77d992589d5ab4c25f0 "diagnostics: add ability to associate diagnostics with rules from...

> I've tried the code and am a bit sad to see my terminal does not allow me to click the links, despite usually being pretty good at handling URLs....

@philberty I confess that I merely hardcoded the extension names in libgccjit (see e.g. jit-tempdir.c's gcc::jit::tempdir::create, e.g. `m_path_so_file`), so if you find the answer to this, I should update libgccjit...

FWIW it also compiles without the `unsafe` around the `free`; presumably that's a known bug?

> Cool! I can definitively see this complement miri in the future! (In case you didn't know, miri is an interpreter for rust which does a lot of UB checks....

> Unless anybody gets there first, I shall turn this into a GCC/Rust test case. Please go for it!

FWIW, something I've done in the C/C++ frontends is to have some custom rich_location subclasses, for highlighting the things of interest to particular kinds of diagnostic. See e.g. `class binary_op_rich_location`...