On Sat, 2026-02-14 at 17:50 +0500, Islombek Ismoilov via Gcc wrote: > Hello, David Malcolm > Thank you for your reply and for the advice. > > I would like to share my Git repository with you, where I implemented > a > simple lexer and parser to demonstrate my C++ skills.
Thanks! > While working on this > project, I also studied compiler internals, including how source code > is > transformed during compilation. Additionally, I explored static > analysis > concepts, such as control-flow graphs, tracking variable states, and > detecting potential issues without executing the program, which > helped me > understand how warnings like null dereferences or format-string > mismatches > are identified. > > I am particularly interested in the format-string project idea. > Previously, > I implemented my own versions of printf and scanf, including parsing > and > handling of format strings (flags, width, precision, and specifiers). > This > was a challenging task that required careful processing of format > specifiers and argument types, and it helped me better understand how > format strings work internally and why mismatches can lead to bugs or > vulnerabilities. (nods) > > Currently, I am working on building GCC from source. This is a good step to take. I forgot to mention this before, but please make sure you build from a recent git checkout of the source from trunk, for gcc 16; *not* gcc 15 - I've made some significant changes to the insides of the analyzer since gcc 15. > I already see that it > is a large and complex codebase, but I find the process both > challenging > and very motivating. > > github https://github.com/toby-dotcom > > Thank you again for your time and guidance. Let me know if you have any questions Thanks Dave
