Skip to content

Instantly share code, notes, and snippets.

View r-a-o's full-sized avatar
🚩
time to create is now

Nagendra Rao r-a-o

🚩
time to create is now
View GitHub Profile
error: Assertion failed: (false && "LLDBMemoryReader module to address map ran into pointer " "authentication mask!"), function addModuleToAddressMap, file LLDBMemoryReader.cpp, line 536
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 LLDB 0x000000011b191120 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 LLDB 0x000000011afe6de8 lldb_private::_lldb_assert(bool, char const*, char const*, char const*, unsigned int) + 204
2 LLDB 0x000000011621488c lldb_private::LLDBMemoryReader::addModuleToAddressMap(std::__1::shared_ptr<lldb_private::Module>, bool) + 508
3 LLDB 0x000000011627300c lldb_private::SwiftLanguageRuntime::AddObjectFileToReflectionContext(std::__1::shared_ptr<lldb_private::Module>, llvm::SmallVector<llvm::StringRef, 1u>) + 1088
4 LLDB 0x0000000116273e04 lldb_private::SwiftLanguageRuntime::AddModu
@r-a-o
r-a-o / upload_to_r2.py
Created October 8, 2024 08:03
Upload multiple files and folders(retaining structure) to Cloudflare R2 via Boto3 (takes confirmation before upload, shows upload progress, has ignore list)
import boto3
from botocore.config import Config
from boto3.s3.transfer import TransferConfig, S3Transfer
import argparse
import os
import sys
import threading
# Constants
GB = 1024 ** 3