YoVDO

Execution of Uninvoked C++ Code to Obfuscate Logs Without an External Script

Offered By: CppNow via YouTube

Tags

C++Now Courses C++ Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore an innovative C++ technique for obfuscating logs without external scripts in this CppNow 2023 conference talk. Discover how to execute uninvoked C++ code to create a logger with vanishing strings, using less than 20 lines of C++17 code. Learn about the DO_ON_INIT utility, its development process, and implementation details. Understand how this general-use utility allows running custom code at program initialization, enabling the creation of a no-strings-attached logger with an automatically-generated decoding facility. Gain insights into emergent behavior in C++, where unrelated language features combine in novel ways. Delve into the potential applications of this technique beyond logging and consider how it might inspire your own innovative C++ solutions.

Syllabus

Intro
Overview
Hashing Strings
Constant Evaluation
Member Instantiation
Link Forever
Inline
Cost
Recap
Lambda
First attempt
Next attempt
Last attempt
One in it
Promise fulfilled
First contribution
Vlogging
Macros
Basic Scheme
breakpoint
demo
GCC issues
Crazy solution
GCC limitation
GCC vendorspecific extension
Static Lambda
code explanation
production
other ideas
Fragments
Macro
Failed
Possible Solutions
Live Demo


Taught by

CppNow

Related Courses

Computer Graphics
University of California, San Diego via edX
Intro to Parallel Programming
Nvidia via Udacity
Initiation à la programmation (en C++)
École Polytechnique Fédérale de Lausanne via Coursera
C++ For C Programmers, Part A
University of California, Santa Cruz via Coursera
Introduction à la programmation orientée objet (en C++)
École Polytechnique Fédérale de Lausanne via Coursera