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
#!/bin/sh | |
# | |
# This file echoes a bunch of color codes to the· | |
# terminal to demonstrate what's available. Each· | |
# line is the color code of one forground color, | |
# out of 17 (default + 16 escapes), followed by a· | |
# test use of that color on all nine background· | |
# colors (default + 8 escapes). | |
# | |
# Taken from http://tldp.org/HOWTO/Bash-Prompt-HOWTO/x329.html |
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
#include <stdio.h> | |
#include <limits.h> | |
#include <stdint.h> | |
static uint64_t buf[16]; | |
#define NOINLINE __attribute__ ((noinline)) | |
static void NOINLINE func1() { | |
uint8_t* p = (uint8_t*)buf; |
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
#include <stdio.h> | |
#include <limits.h> | |
#include <stdint.h> | |
static uint64_t buf[2]; | |
#define NOINLINE __attribute__ ((noinline)) | |
static void NOINLINE func1() { | |
uint8_t* p = (uint8_t*)buf; |
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
[1/1] Running the AddressSanitizer tests | |
FAILED: cd /home/wdietz2/llvm/33-obj/projects/compiler-rt/lib/asan/lit_tests && /usr/bin/python /home/wdietz2/llvm/33-src/utils/lit/lit.py --param build_config=. --param build_mode=Release -sv --param asan_site_config=/home/wdietz2/llvm/33-obj/projects/compiler-rt/lib/asan/lit_tests/lit.site.cfg /home/wdietz2/llvm/33-obj/projects/compiler-rt/lib/asan/lit_tests | |
lit.py: lit.common.cfg:19: note: using clang: '/home/wdietz2/llvm/33-obj/bin/clang' | |
-- Testing: 160 tests, 8 threads -- | |
Testing: 0 | |
FAIL: AddressSanitizer :: deep_stack_uaf.cc (8 of 160) | |
******************** TEST 'AddressSanitizer :: deep_stack_uaf.cc' FAILED ******************** | |
Script: | |
-- | |
/home/wdietz2/llvm/33-obj/bin/clang -ccc-cxx -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m64 -O0 /home/wdietz2/ioc-compiler-rt/lib/asan/lit_tests/deep_stack_uaf.cc -o /home/wdietz2/llvm/33-obj/projects/compiler-rt/lib/asan/lit_tests/Output/deep_stack_uaf.cc.tmp 2>&1 |
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
From d156ce54795695c5308f49fb5e741b5d52ef29a7 Mon Sep 17 00:00:00 2001 | |
From: Will Dietz <w@wdtz.org> | |
Date: Tue, 15 Jan 2013 11:30:50 -0600 | |
Subject: [PATCH] Kludge to force applet icon size to avoid annoying resize | |
flicker. | |
--- | |
src/applet.c | 9 ++++++--- | |
1 file changed, 6 insertions(+), 3 deletions(-) |
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
#include <stdio.h> | |
#include <limits.h> | |
// Easy example where IR doesn't contain source-level overflow | |
// -O1: 'return a + 3*b' (no nsw flags) | |
int test1(int a, int b) { | |
return a + b + b + b; | |
} | |
// Example where signedness is lost. |
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
public class OuterClass { | |
private int x; | |
OuterClass() { | |
x = new InnerClass().y; | |
} | |
class InnerClass { | |
private int y; |
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
diff --git a/pkgs/development/libraries/icu/54.1.nix b/pkgs/development/libraries/icu/54.1.nix | |
index a2465ce..113e997a 100644 | |
--- a/pkgs/development/libraries/icu/54.1.nix | |
+++ b/pkgs/development/libraries/icu/54.1.nix | |
@@ -4,8 +4,10 @@ let | |
icu = import ./default.nix { inherit stdenv fetchurl fetchpatch fixDarwinDylibNames; }; | |
in | |
stdenv.lib.overrideDerivation icu (attrs: { | |
+ name = "icu_54_1"; | |
src = fetchurl { |
OlderNewer