Skip to content

Instantly share code, notes, and snippets.

View Arsenic-ATG's full-sized avatar
🧑‍💻
working

Arsenic Arsenic-ATG

🧑‍💻
working
  • ION Group
  • Delhi, India
  • 07:27 (UTC +05:30)
  • X @AR3N1C
View GitHub Profile
@Arsenic-ATG
Arsenic-ATG / GSoC_WorkReport.md
Created August 26, 2023 14:26
GSoC 2023 : Enabling LLVM clang ExtractAPI while building

Overview

This project aims to give LLVM-clang the ability to generate ExtractAPI symbol graph files as a side-effect of a regular compilation job. This can enable using the symbol graph format as a lightweight alternative to do code intelligence offline and outside of an interactive context.

Status of ExtractAPI before this project

@Arsenic-ATG
Arsenic-ATG / WorkReport.md
Last active December 1, 2023 20:19
GSoC 2021 : Extending gcc static analyzer to support virtual functions calls.

Overview

The project aims to make GCC's static analysis pass ( -fanalyzer option ) understand dynamic dispatch ( calls to virtual functions ) in C++.

This project will greatly benefit people who, like me, use static analysis pass to analyse their C++ programs for various problems at compile-time rather than spending a lot more time finding them at runtime, making the overall debugging process of any C++ project much faster and easier without using any additional tool except from the GCC compiler itself.

Status of Analyzer Before (GCC 11):

Although the static analyzer of GCC does it's job amazingly well for C code, it doesn't properly support C++ yet. Let's see this with an example where the analyzer triggers a false positive :-