Skip to content

Instantly share code, notes, and snippets.

#include <limits.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <chrono>
#include <random>
__attribute__((noinline)) uint64_t divllu_v2_nobranch(
uint64_t numhi, uint64_t numlo, uint64_t den, uint64_t *r) {
Flutter crash report.
Please report a bug at https://github.com/flutter/flutter/issues.
## command
flutter --verbose precache --force
## exception
ProcessException: ProcessException: The command failed
This file has been truncated, but you can view the full file.
peter ) rm -Rf flutter
peter ) mkdir ~/flutter && cd ~/flutter
flutter ) unzip ~/Downloads/flutter_macos_2.0.0-stable.zip
Archive: /Users/peter/Downloads/flutter_macos_2.0.0-stable.zip
creating: flutter/
inflating: flutter/CODE_OF_CONDUCT.md
inflating: flutter/LICENSE
creating: flutter/bin/
creating: flutter/bin/cache/
inflating: flutter/bin/cache/openssl.stamp
This file has been truncated, but you can view the full file.
peter ) rm -Rf flutter
peter ) mkdir ~/flutter && cd ~/flutter
flutter ) unzip ~/Downloads/flutter_macos_2.0.0-stable.zip
Archive: /Users/peter/Downloads/flutter_macos_2.0.0-stable.zip
creating: flutter/
inflating: flutter/CODE_OF_CONDUCT.md
inflating: flutter/LICENSE
creating: flutter/bin/
creating: flutter/bin/cache/
inflating: flutter/bin/cache/openssl.stamp
flutter ) flutter --verbose --version
[ +65 ms] executing: [/Users/peter/flutter/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +31 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] 60bd88df915880d23877bfc1602e8ddcf4c4dd2a
[ ] executing: [/Users/peter/flutter/flutter/] git tag --points-at 60bd88df915880d23877bfc1602e8ddcf4c4dd2a
[ +12 ms] Exit code 0 from: git tag --points-at 60bd88df915880d23877bfc1602e8ddcf4c4dd2a
[ ] 2.0.0
[ +42 ms] executing: [/Users/peter/flutter/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +7 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/stable
CoreFoundation`CFStringGetCharacters:
-> 0x7fff37861e27 <+0>: pushq %rbp
0x7fff37861e28 <+1>: movq %rsp, %rbp
0x7fff37861e2b <+4>: movq %rdx, %r8
0x7fff37861e2e <+7>: movq %rsi, %rax
0x7fff37861e31 <+10>: testb $0x1, %dil
0x7fff37861e35 <+14>: jne 0x7fff37861e7e ; <+87>
0x7fff37861e37 <+16>: movq (%rdi), %rdx
0x7fff37861e3a <+19>: testq %rdx, %rdx
0x7fff37861e3d <+22>: je 0x7fff37861e6b ; <+68>
#include <unistd.h>
"__DARWIN_C_LEVEL" = __DARWIN_C_LEVEL
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// RUN: %hermes -target=HBC -O %s | %FileCheck --match-full-lines %s
// RUN: %hermes -target=HBC -O -emit-binary -out %t.hbc %s && %hermes %t.hbc | %FileCheck --match-full-lines %s
"use strict";
@ridiculousfish
ridiculousfish / spawni.c
Created June 6, 2020 22:13
glibc/glibc-2.29/sysdeps/unix/sysv/linux/spawni.c
/* POSIX spawn interface. Linux version.
Copyright (C) 2016-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <spawn.h>
#include <sys/wait.h>
static void show_sigmask(const char *when) {
sigset_t sigs;
sigemptyset(&sigs);
int err = sigprocmask(SIG_SETMASK, 0, &sigs);