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
  • 18:58 (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

{
// Rough modified version of Celeste to darken it up
"name": "Celeste Dark",
"author": "Sublime HQ Pty Ltd",
"variables":
{
// These colors are part of the hashed range
// and should only be used in non-source
"purple": "hsla(260, 50%, 70%, 1)",
"blue": "hsla(200, 70%, 55%, 1)",
@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 :-

@Yousha
Yousha / .gitignore
Last active November 13, 2024 18:29
.gitignore for C/C++ developers.
##### Windows
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
# Dump file
*.stackdump
@apaskulin
apaskulin / advanced-formatting-github-markdown.md
Created April 15, 2018 17:49
Tips and tricks for more formatting options in GitHub Markdown

Advanced Formatting in GitHub Markdown

GitHub Flavored Markdown lets you create useful documents in GitHub and GitHub Enterprise using .md files. Like other varieties of markdown, GitHub Markdown tries to be as readable as possible in its raw form, resulting in an intentionally limited set of formatting options. However, these options can feel restrictive when dealing with complex content.

Although GitHub Markdown strips out most HTML tags, here are a few tricks that can give you more flexibility when formatting your documents. These advanced formatting options can make your documents more useable, but they come at the expense of plain text readability, so use with caution.

GitHub Markup Reference

GitHub supports a number of