JavaScript Runtime with deno_core

If you’re not familiar with Deno, check out the official website at https://deno.land/. In short, Deno is a more secure alternative to Node (the name is literally Node reversed: no_de -> de_no), created by the same founder as Node. A couple of days ago, the Deno blog published an article titled “Roll your own JavaScript runtime” https://deno.com/blog/roll-your-own-javascript-runtime err: “Unable to read file” “./log.txt” {“code”:”ENOENT”} out: “Read from a file” “./log.txt” “contents:” “I can write to a file.” out: “Removing file” “./log.txt” out: “File removed” ...
javascript, runtime, deno, V8, and web

LLDB Breakpoint All UIPasteboard Methods

iOS14 added a privacy protection feature, when current App reads content other Apps copied to clipboard, will have a brief prompt. As below: Can breakpoint all UIPasteboard methods to check all clipboard-related behaviors in App. Breakpoint all UIPasteboard methods can use command below: breakpoint set -r '\[UIPasteboard .*\]$' First breakpoint at main, then input above command in lldb terminal. (Figure above only screenshotted part of UIPasteboard methods) Summary Hmm, everyone try~ Will discover besides our own calls, system also occasionally triggers UIPasteboard related calls. Very interesting~ ...
iOS14, lldb, debugging, iOS, and UIPasteboard

How to List All +load Methods in App

Objective C +load method is a magical and evil method. ...
tutorial, learning, guide, development, and tools

How to Breakpoint at Function's return

Has a complex function with many code lines, internally has many returns, step debugging very slow, how to quickly find which line returned? ...
lldb, debugging, breakpoint, iOS, and return

When Does ObjC Object in C++ Class dealloc

When using Objective C++, can use C++’s struct or class to store Objective C objects. ...
tutorial, learning, guide, development, and tools

Hidden Symbol in ?WhatsApp App Name

Welcome everyone to watch this episode of “Approaching Science: WhatsApp Mysterious Symbol”~ ...
assembly, symbol, obfuscation, C, and low-level

Running Android on iPhone

First time in history to make Android system run on iPhone. Currently (March 6, 2020) version only supports iPhone7/7 Plus. (iOS system version no requirement) Project Sandcastle: Android for the iPhone Project address: https://projectsandcastle.org/ Happened to have an iPhone7, experienced it. Steps simply summarized, share with everyone. Ideal steps below, but due to macOS security mechanisms, steps 2 and 3 not so smooth and pleasant. Use checkra1n to jailbreak Run start_mac.sh Run setup_mac.sh ...
iOS, development, and mobile

Redirect Standard Output

Saw code quite interesting, iOS project redirects printf printed content to UITextView. ...
tutorial, learning, guide, development, and tools

Rename Symbols Using __asm__

objc source code has code below __asm__("_objc_retain"), what is this __asm__? ...
assembly, symbol, obfuscation, C, and low-level

Are C++ Static Variables in Functions Thread Safe?

First conclusion, is thread safe, and has double-checked locking, performance quite good. ...
tutorial, learning, guide, development, and tools
Archive ; Tags ; Product ; GitHub ; About ;