RSSAmplifier

Blog

Juan Cruz Viotti

Personal blog

jviotti.comRSS feed ↗29 posts

Latest posts

Studying C++ generated assembly using Xcode Instruments

A short guide to studying the assembly code generated by AppleClang for C++ projects using Xcode Instruments

Running the Intel VTune Profiler on Fedora

This article explains how to install and configure the Intel VTune Profiler on Fedora to use advanced analysis such as the Memory Access tool

Debugging MSVC C++ crashes from the terminal using CDB

A high-level introduction to using the CDB command-line debugger in the context of C++ programs

Using Xcode Instruments for C++ CPU profiling

This article is an overview of how to use Xcode Instruments along its `xctrace` command-line tool companion to perform CPU profiling of C++ programs

Is Objective-C `BOOL` a boolean type? It depends

This article describes how the Objective-C `BOOL` type is differently defined on Apple platforms, and how these differences are defined in LLVM

Understanding Objective-C by transpiling it to C++

This article describes how to transpile Objective-C to C++, and use that approach to gain understanding of the Objective-C runtime

Spoofing Objective-C return values on Apple Silicon using LLDB

This article describes how LLDB can be used to mutate return values of Objective-C methods and functions

Exploring macOS private frameworks

This article describes a series of approaches for reverse engineering macOS private frameworks

Building Objective-C iOS apps with CMake

This article describes how to build iOS applications using Objective-C with CMake instead of plain Xcode

Writing Objective-C iOS apps without Storyboards

This article explores how to write iOS applications with Objective-C without making use of traditional Storyboards

Launching macOS applications from the command-line

This article describes in detail how to launch macOS application bundles from the command line

Performance testing through proportional traces

This article describes a novel system-independent approach to performance testing using tracing

Debugging Electron.js native crashes on GNU/Linux

This article describes in detail how to symbolicalize Electron.js native crashes on GNU/Linux

Debugging the C++ standard library on macOS

This article describes how to use LLDB on C++ standard library code on macOS

Attaching LLDB to production Electron.js builds on macOS

This article describes how to use LLDB to debug production builds of Electron.js on macOS

Emitting Signposts to Instruments on macOS using C++

This article describes how to use the macOS Signposts API from C++ applications

Debugging Electron.js native crashes on macOS

This article describes in detail how to symbolicalize Electron.js native crashes on macOS

Employers should not own open-source contributions

This article makes a case on why employers should not attempt to own the IP of the contributions of their employees

A deep dive on macOS universal binaries

This article describes in detail how Mach-O universal binaries work

Speeding up Windows Electron.js builds with SCCACHE

This article describes the back story behind a Chromium CL to restore SCCACHE support on Windows

Building Electron.js on Windows using the Visual Studio Build Tools

This article describes how to build Electron.js on Windows using only the Visual Studio Build Tools offering

Evolutive Integration Testing of HTTP APIs with OpenAPI

This article describes an experimental approach to describing HTTP API integration tests

Easily switch between many NPM accounts

This article describes a trick for easily switching between multiple NPM accounts on the terminal

An introduction to Ada's simple numeric types

This article introduces the numeric types available in Ada 2012

An overview of arrays in Ada 2012

This article is an overview of array types in Ada 2012

How to manually package an Electron app for Windows

This article describes how to package an Electron application for Windows without additional tooling

How to code-sign OS X Electron apps in Travis CI

This article discusses how to code-sign OS X Electron apps using Travis CI

Fixing a baffling issue when running Electron as root in GNU/Linux

This article discusses a Chromium sandboxing permission error when executing an Electron application as root on GNU/Linux

Debugging Electron to run shell scripts in a packaged application

This article discusses a file permissions error on Electron that can affect spawning, and an upstream fix for it