This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/src/ipsw % git describe | |
v3.1.277 | |
~/src/ipsw % ./ipsw dyld extract /System/Volumes/Preboot/Cryptexes/Incoming/OS/System/Library/dyld/dyld_shared_cache_arm64e /usr/lib/libsqlite3.dylib -o /tmp/dsc-ipsw --stubs --force --objc | |
• parsing public symbols... | |
• parsing private symbols... | |
• cache does NOT contain local symbols | |
• parsing objc info... | |
⨯ failed to parse objc selectors: failed read selector objc_stringhash_t: unexpected EOF | |
~/src/ipsw % sw_vers | |
ProductName: macOS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@implementation Foo | |
-(void)bar {} | |
@end | |
int main() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ valgrind --undef-value-errors=no --freelist-vol=10000000000 ./binaryninja/binaryninja /tmp/main_301.bndb | |
==65305== Memcheck, a memory error detector | |
==65305== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al. | |
==65305== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info | |
==65305== Command: ./binaryninja/binaryninja /tmp/main_301.bndb | |
==65305== | |
==65305== Invalid read of size 8 | |
==65305== at 0x4025964: strncmp (strcmp.S:170) | |
==65305== by 0x4005EAD: is_dst (dl-load.c:216) | |
==65305== by 0x4006F26: _dl_dst_count (dl-load.c:253) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ valgrind --undef-value-errors=no ./binaryninja/binaryninja /tmp/main_301.bndb | |
==64468== Memcheck, a memory error detector | |
==64468== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al. | |
==64468== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info | |
==64468== Command: ./binaryninja/binaryninja /tmp/main_301.bndb | |
==64468== | |
==64468== Invalid read of size 8 | |
==64468== at 0x4025964: strncmp (strcmp.S:170) | |
==64468== by 0x4005EAD: is_dst (dl-load.c:216) | |
==64468== by 0x4006F26: _dl_dst_count (dl-load.c:253) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ valgrind --undef-value-errors=no ./binaryninja/binaryninja /tmp/main_301.bndb | |
==54086== Memcheck, a memory error detector | |
==54086== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al. | |
==54086== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info | |
==54086== Command: ./binaryninja/binaryninja /tmp/main_301.bndb | |
==54086== | |
==54086== Invalid read of size 8 | |
==54086== at 0x4025964: strncmp (strcmp.S:170) | |
==54086== by 0x4005EAD: is_dst (dl-load.c:216) | |
==54086== by 0x4006F26: _dl_dst_count (dl-load.c:253) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==52619== Memcheck, a memory error detector | |
==52619== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al. | |
==52619== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info | |
==52619== Command: ./binaryninja/binaryninja /tmp/main_301.bndb | |
==52619== | |
==52619== Invalid read of size 8 | |
==52619== at 0x4025964: strncmp (strcmp.S:170) | |
==52619== by 0x4005EAD: is_dst (dl-load.c:216) | |
==52619== by 0x4006F26: _dl_dst_count (dl-load.c:253) | |
==52619== by 0x4007127: expand_dynamic_string_token (dl-load.c:395) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Uncrustify-0.74.0_f | |
indent_with_tabs = 0 | |
# option(s) with 'not default' value: 1 | |
# | |
# -=====- | |
# number of loops = 0 | |
# -=====- | |
# language = C | |
# -=====- | |
# Line Tag Parent_type Type of the parent Columns Br/Lvl/pp Flag Nl Text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export CCACHE_BASEDIR=$(CURDIR) | |
$(CURDIR)/foo.o: $(CURDIR)/foo.c Makefile | |
ccache cc -c -o $@ $< -MD | |
clean: | |
rm -f $(CURDIR)/foo.o $(CURDIR)/foo.d | |
-include $(CURDIR)/foo.d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Homebrew build logs for gdb on macOS 12 | |
Build date: 2022-02-20 23:40:05 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// To build: gcc -o argc0 argc0.c | |
// To use: ./argc0 /bin/whatever | |
#include <unistd.h> | |
#include <assert.h> | |
#include <stdio.h> | |
int main(int argc, char **argv) { | |
assert(argc == 2); | |
execl(argv[1], NULL); | |
perror("execl"); | |
} |