(draft; work in progress)
See also:
- Compilers
- Program analysis:
- Dynamic analysis - instrumentation, translation, sanitizers
| #import <objc/runtime.h> | |
| #import <UIKit/UIKit.h> | |
| @interface UIWebView (HackishAccessoryHiding) | |
| @property (nonatomic, assign) BOOL hackishlyHidesInputAccessoryView; | |
| @end | |
| @implementation UIWebView (HackishAccessoryHiding) | |
| static const char * const hackishFixClassName = "UIWebBrowserViewMinusAccessoryView"; |
(draft; work in progress)
See also:
| # Script to download all the WWDC 2020 session videos in the highest 4K video and audio | |
| # You may have to update ffmpeg before using this script. I needed version 4.3 or higher to successfully download the videos. | |
| # | |
| # If you want the lower bitrate audio, do a find/replace of "audio_english_192" with "audio_english_64" | |
| # If you want lower bitrate or lower resolution video, do a find/replace of "hvc_2160p_16800" with any of the following: | |
| # "hvc_2160p_11600" | |
| # "hvc_1440p_8100" | |
| # "hvc_1080p_5800" | |
| # "hvc_1080p_4500" | |
| # "hvc_720p_3400" |
| # IDA (disassembler) and Hex-Rays (decompiler) plugin for Apple AMX | |
| # | |
| # WIP research. (This was edited to add more info after someone posted it to | |
| # Hacker News. Click "Revisions" to see full changes.) | |
| # | |
| # Copyright (c) 2020 dougallj | |
| # Based on Python port of VMX intrinsics plugin: | |
| # Copyright (c) 2019 w4kfu - Synacktiv |
| wget --no-check-certificate --recursive --domains=opensource.apple.com --no-clobber --accept "*.gz" --no-parent -l2 https://opensource.apple.com/tarballs | |
| wget --no-check-certificate --recursive --domains=opensource.apple.com --no-clobber --accept "*.gz" -l2 https://opensource.apple.com/ | |
| wget --no-check-certificate --recursive --domains=opensource.apple.com --no-clobber --accept "*.gz" --no-parent -l3 https://opensource.apple.com/darwinbuild/ |
Last time I wrote about this, I lied a little - There is an interesting bug in the UART loader, and it may have been exactly why Xilinx didn't document it. In short: The UART loader writes the entire UART payload to a location in memory (nominally 0x4_0000). The ROM is architected such that when the boot mode is selected, it registers a callback that is called when the ROM wants more data from the boot device. For the UART loader, this is pretty simple - here's the whole thing:
; void uart_callback(u32 r0_offset, void* r1_dest, i32 r2_nbytes)
ROM:0000A578 PUSH {R3,LR}
ROM:0000A57C MOV R3, #uart_buff
ROM:0000A584 MOV R12, #1
ROM:0000A588 LDR R3, [R3]
| #include <sys/types.h> | |
| #include <sys/param.h> | |
| #include <sys/cpuset.h> | |
| #include <sys/socket.h> | |
| #include <sys/mman.h> | |
| #include <sys/sysctl.h> | |
| #include <sys/vmmeter.h> | |
| #include <netinet/in.h> | |
| #include <string.h> | |
| #include <unistd.h> |
| // Bugs by NSO Group / Ian Beer. | |
| // Exploit by Siguza & tihmstar. | |
| // Thanks also to Max Bazaliy. | |
| #include <stdint.h> // uint32_t, uint64_t | |
| #include <stdio.h> // fprintf, stderr | |
| #include <string.h> // memcpy, memset, strncmp | |
| #include <unistd.h> // getpid | |
| #include <mach/mach.h> | |
| #include <stdlib.h> |
| # | |
| # OpenOCD configuration for Tegra X1 (T210) | |
| # by shinyquagsire23 | |
| # For use on Jetson Nano/TX1 and similar | |
| # | |
| transport select jtag | |
| adapter speed 3000 | |
| reset_config trst_and_srst | |
| jtag_ntrst_delay 500 |