Page MenuHomePhabricator
Feed Advanced Search

Mon, Jan 13

hctim added a comment to D72470: [scudo][standalone] Fork support.

FWIW I'm ok with this landing in the previous version, disabling GWP-ASan, because its integration in scudo is so broken right now.

Mon, Jan 13, 5:55 PM · Restricted Project, Restricted Project

Sun, Jan 12

hctim added a comment to D72546: Scudo tests with GWP-ASan..

Oh, also, would you mind please updating the commit message to mention that this change adds enable/disable support, and fork protections? Thanks!

Sun, Jan 12, 9:06 PM · Restricted Project, Restricted Project
hctim added a comment to D72546: Scudo tests with GWP-ASan..

Thanks for doing this.

Sun, Jan 12, 8:30 PM · Restricted Project, Restricted Project

Tue, Jan 7

hctim added inline comments to D72364: [scudo][standalone] Modify malloc_{enable,disable} wrt fork.
Tue, Jan 7, 4:09 PM · Restricted Project, Restricted Project
hctim added inline comments to D72364: [scudo][standalone] Modify malloc_{enable,disable} wrt fork.
Tue, Jan 7, 3:23 PM · Restricted Project, Restricted Project

Mon, Dec 23

hctim added inline comments to D70762: scudo: Add initial memory tagging support..
Mon, Dec 23, 10:10 AM · Restricted Project, Restricted Project

Dec 18 2019

hctim committed rGb19d87b16f81: Revert "Add an -fno-temp-file flag for compilation" (authored by hctim).
Revert "Add an -fno-temp-file flag for compilation"
Dec 18 2019, 9:07 AM
hctim added a reverting change for rGd129aa1d5369: Add an -fno-temp-file flag for compilation: rGb19d87b16f81: Revert "Add an -fno-temp-file flag for compilation".
Dec 18 2019, 9:07 AM
hctim added a comment to D70615: Add an -fno-temp-file flag for compilation.

This change broke the sanitizer buildbots: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/37446

Dec 18 2019, 9:07 AM · Restricted Project
hctim committed rG2f4c3c565a34: [NFC] Fix sanitizer lint problem that's breaking Android bot. (authored by hctim).
[NFC] Fix sanitizer lint problem that's breaking Android bot.
Dec 18 2019, 8:52 AM
hctim added a comment to rGe14ff22694c2: [compiler-rt] Sync NetBSD ioctl definitions with 9.99.26.

Fyi - slight lint bug introduced here, fixed in 2f4c3c565a34b2c30fb883c85acbf4114b455c26.

Dec 18 2019, 8:52 AM

Dec 17 2019

hctim committed rGf827aff85988: Revert "[ MC ] Match labels to existing fragments even when switching sections." (authored by hctim).
Revert "[ MC ] Match labels to existing fragments even when switching sections."
Dec 17 2019, 3:06 PM
hctim added inline comments to D71368: [ MC ] Match labels to existing fragments even when switching sections..
Dec 17 2019, 3:06 PM · Restricted Project
hctim added a reverting change for rG4272372c571c: [ MC ] Match labels to existing fragments even when switching sections.: rGf827aff85988: Revert "[ MC ] Match labels to existing fragments even when switching sections.".
Dec 17 2019, 3:06 PM
hctim committed rG2423774cc2a0: Revert "Honor -fuse-init-array when os is not specified on x86" (authored by hctim).
Revert "Honor -fuse-init-array when os is not specified on x86"
Dec 17 2019, 7:39 AM
hctim added a reverting change for rGaa5ee8f24444: Honor -fuse-init-array when os is not specified on x86: rG2423774cc2a0: Revert "Honor -fuse-init-array when os is not specified on x86".
Dec 17 2019, 7:39 AM
hctim added a comment to D71360: Honor -fuse-init-array when os is not specified on x86.

Reverted in 2423774cc2a040d34d32aacaf261805cb195ebd2 due to breaking the sanitizer buildbots: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/37410

Dec 17 2019, 7:39 AM · Restricted Project

Dec 16 2019

hctim planned changes to D71497: [GWP-ASan] Add in-proc/out-of-proc crash handler interface..
Dec 16 2019, 1:40 PM · Restricted Project, Restricted Project

Dec 13 2019

hctim created D71497: [GWP-ASan] Add in-proc/out-of-proc crash handler interface..
Dec 13 2019, 4:40 PM · Restricted Project, Restricted Project
hctim committed rGd6c445ea6907: [NFC] Guard scudo_standalone's optional dependency on GWP-ASan behind flags. (authored by hctim).
[NFC] Guard scudo_standalone's optional dependency on GWP-ASan behind flags.
Dec 13 2019, 11:01 AM
hctim committed rGa00cd6dfea9f: [GWP-ASan] [Scudo] ifdef entire GWP-ASan tests. (authored by hctim).
[GWP-ASan] [Scudo] ifdef entire GWP-ASan tests.
Dec 13 2019, 9:48 AM
hctim committed rGed4618edb356: [Scudo] [GWP-ASan] Add GWP-ASan to Scudo Standalone. (authored by hctim).
[Scudo] [GWP-ASan] Add GWP-ASan to Scudo Standalone.
Dec 13 2019, 9:20 AM
hctim closed D71229: [Scudo] [GWP-ASan] Add GWP-ASan to Scudo Standalone..
Dec 13 2019, 9:20 AM · Restricted Project, Restricted Project

Dec 11 2019

hctim accepted D71285: [fuzzer] Add basic support for emscripten..
Dec 11 2019, 7:44 AM · Restricted Project, Restricted Project

Dec 10 2019

hctim updated the diff for D71229: [Scudo] [GWP-ASan] Add GWP-ASan to Scudo Standalone..
  • Enforce alignment to GWP-ASan. If userspace calls posix_memalign, this alignment guarantee should be kept even if the allocation is chosen to be sampled.
Dec 10 2019, 5:23 PM · Restricted Project, Restricted Project
hctim added inline comments to D71285: [fuzzer] Add basic support for emscripten..
Dec 10 2019, 1:51 PM · Restricted Project, Restricted Project
hctim updated the diff for D71229: [Scudo] [GWP-ASan] Add GWP-ASan to Scudo Standalone..
  • Guard isOwned behind macro.
Dec 10 2019, 9:32 AM · Restricted Project, Restricted Project
hctim added inline comments to D71229: [Scudo] [GWP-ASan] Add GWP-ASan to Scudo Standalone..
Dec 10 2019, 9:32 AM · Restricted Project, Restricted Project
hctim accepted D71223: [scudo][standalone] Define hasHardwareCRC32 for other archs.
Dec 10 2019, 7:42 AM · Restricted Project, Restricted Project

Dec 9 2019

hctim added a comment to D71229: [Scudo] [GWP-ASan] Add GWP-ASan to Scudo Standalone..

What's the current plan for testing? (Currently I have only enabled the standalone on Linux x86/64 for upstream)

Dec 9 2019, 4:39 PM · Restricted Project, Restricted Project
hctim updated the diff for D71229: [Scudo] [GWP-ASan] Add GWP-ASan to Scudo Standalone..
  • Synced to master, added isOwned and /s/size_t/uptr.
Dec 9 2019, 4:38 PM · Restricted Project, Restricted Project
hctim created D71229: [Scudo] [GWP-ASan] Add GWP-ASan to Scudo Standalone..
Dec 9 2019, 2:44 PM · Restricted Project, Restricted Project
hctim accepted D71148: [hwasan] Offline symbolization script..

LGTM with a couple comments

Dec 9 2019, 9:28 AM · Restricted Project, Restricted Project
hctim committed rG26fd95680bcf: [GWP-ASan] 32-bit test pointers, allow multi-init for test. (authored by hctim).
[GWP-ASan] 32-bit test pointers, allow multi-init for test.
Dec 9 2019, 8:24 AM
hctim closed D71121: [GWP-ASan] 32-bit test pointers, allow multi-init for test..
Dec 9 2019, 8:24 AM · Restricted Project, Restricted Project
hctim accepted D71104: scudo: Add a basic malloc/free benchmark..
Dec 9 2019, 8:15 AM · Restricted Project, Restricted Project

Dec 6 2019

hctim added inline comments to D71148: [hwasan] Offline symbolization script..
Dec 6 2019, 2:25 PM · Restricted Project, Restricted Project
hctim added inline comments to D71148: [hwasan] Offline symbolization script..
Dec 6 2019, 2:25 PM · Restricted Project, Restricted Project
hctim added inline comments to D71104: scudo: Add a basic malloc/free benchmark..
Dec 6 2019, 12:06 PM · Restricted Project, Restricted Project
hctim created D71121: [GWP-ASan] 32-bit test pointers, allow multi-init for test..
Dec 6 2019, 8:01 AM · Restricted Project, Restricted Project
hctim added inline comments to D71104: scudo: Add a basic malloc/free benchmark..
Dec 6 2019, 7:53 AM · Restricted Project, Restricted Project
hctim added inline comments to D71104: scudo: Add a basic malloc/free benchmark..
Dec 6 2019, 7:24 AM · Restricted Project, Restricted Project

Dec 4 2019

hctim planned changes to D70681: [GWP-ASan] Implementation of crash handler API..

The third seems like it might be exposing internals we don't want to expose and potentially lead to versioning issues.

Dec 4 2019, 11:19 AM · Restricted Project, Restricted Project

Dec 2 2019

hctim accepted D70908: [scudo][standalone] Add chunk ownership function.

I think that not claiming ownership of a corrupted chunk is something we can live with.
The ownership concept for tcmalloc has strong requirements, which I think are fulfilled by this implementation.

Dec 2 2019, 1:30 PM · Restricted Project, Restricted Project
hctim added a comment to D70908: [scudo][standalone] Add chunk ownership function.

So the model presented asserts that if the chunk header is truncated, the pointer is not owned by us. Is this WAI? I can forsee that a chunk header was truncated, and then the pointer to the associated allocation is checked for ownership, which the ownership will fail as the chunk header check didn't succeed.

Dec 2 2019, 11:47 AM · Restricted Project, Restricted Project

Nov 27 2019

hctim added a comment to D70762: scudo: Add initial memory tagging support..

The granules
either side of the allocation are tagged with tag 0, which is normally
excluded from the set of tags that may be selected randomly

Nov 27 2019, 2:00 PM · Restricted Project, Restricted Project
hctim added inline comments to D70762: scudo: Add initial memory tagging support..
Nov 27 2019, 1:49 PM · Restricted Project, Restricted Project
hctim added inline comments to D70762: scudo: Add initial memory tagging support..
Nov 27 2019, 12:37 PM · Restricted Project, Restricted Project
hctim planned changes to D64457: [GWP-ASan] Attempt to fix Android/ARM platforms..

Can this be abandoned? Looks stale.

Nov 27 2019, 12:37 PM · Restricted Project, Restricted Project
hctim added inline comments to D70762: scudo: Add initial memory tagging support..
Nov 27 2019, 11:13 AM · Restricted Project, Restricted Project

Nov 26 2019

hctim accepted D70682: [scudo][standalone] Make tests work on Fuchsia.
Nov 26 2019, 10:12 AM · Restricted Project, Restricted Project

Nov 25 2019

hctim added inline comments to D70682: [scudo][standalone] Make tests work on Fuchsia.
Nov 25 2019, 3:33 PM · Restricted Project, Restricted Project
hctim added inline comments to D70682: [scudo][standalone] Make tests work on Fuchsia.
Nov 25 2019, 2:56 PM · Restricted Project, Restricted Project
hctim committed rG19edfb37282a: [GWP-ASan] Add GWP_ASAN_ prefix to macros. (authored by hctim).
[GWP-ASan] Add GWP_ASAN_ prefix to macros.
Nov 25 2019, 12:28 PM
hctim closed D70683: [GWP-ASan] Add GWP_ASAN_ prefix to macros..
Nov 25 2019, 12:28 PM · Restricted Project, Restricted Project
hctim added inline comments to D70682: [scudo][standalone] Make tests work on Fuchsia.
Nov 25 2019, 11:04 AM · Restricted Project, Restricted Project
hctim added inline comments to D70682: [scudo][standalone] Make tests work on Fuchsia.
Nov 25 2019, 10:54 AM · Restricted Project, Restricted Project
hctim created D70683: [GWP-ASan] Add GWP_ASAN_ prefix to macros..
Nov 25 2019, 10:34 AM · Restricted Project, Restricted Project
hctim created D70681: [GWP-ASan] Implementation of crash handler API..
Nov 25 2019, 10:17 AM · Restricted Project, Restricted Project
hctim accepted D70552: [scudo][standalone] Fix for releaseToOS prior to init.
Nov 25 2019, 8:28 AM · Restricted Project, Restricted Project

Nov 21 2019

hctim added inline comments to D70452: [scudo][standalone] Minor optimization & improvements.
Nov 21 2019, 9:19 AM · Restricted Project, Restricted Project
hctim accepted D70452: [scudo][standalone] Minor optimization & improvements.

Other than that, LGTM

Nov 21 2019, 9:01 AM · Restricted Project, Restricted Project
hctim added inline comments to D70452: [scudo][standalone] Minor optimization & improvements.
Nov 21 2019, 9:01 AM · Restricted Project, Restricted Project

Nov 14 2019

hctim accepted D70276: [scudo][standalone] Enabled SCUDO_DEBUG for tests + fixes.
Nov 14 2019, 3:04 PM · Restricted Project, Restricted Project

Nov 12 2019

hctim accepted D69593: [libFuzzer] don't use /dev/null for DiscardOuput in Fuchsia..

Ping :)

Nov 12 2019, 1:43 PM · Restricted Project, Restricted Project

Nov 7 2019

hctim committed rZORG53b0602b58d2: Remove error in additional '(' that was placed in previous patch. (authored by hctim).
Remove error in additional '(' that was placed in previous patch.
Nov 7 2019, 8:00 AM
hctim committed rG343597789eba: [GWP-ASan] Respect compiler-rt's -fno-lto (authored by hctim).
[GWP-ASan] Respect compiler-rt's -fno-lto
Nov 7 2019, 7:50 AM
hctim committed rZORG750be2533627: Conditionally build LLD for sanitizer bots. (authored by hctim).
Conditionally build LLD for sanitizer bots.
Nov 7 2019, 7:23 AM

Nov 6 2019

hctim committed rZORG7b38316441a5: Add LLD to slow builder sanitizer bot. (authored by hctim).
Add LLD to slow builder sanitizer bot.
Nov 6 2019, 4:47 PM

Oct 28 2019

hctim committed rG2513250be336: [scudo][standalone] Lists fix (authored by cryptoad).
[scudo][standalone] Lists fix
Oct 28 2019, 3:30 PM
hctim closed D69529: [scudo][standalone] Lists fix.
Oct 28 2019, 3:30 PM · Restricted Project, Restricted Project
hctim accepted D69529: [scudo][standalone] Lists fix.
Oct 28 2019, 1:39 PM · Restricted Project, Restricted Project
hctim committed rG6f2de9cbb37f: [scudo][standalone] Consolidate lists (authored by cryptoad).
[scudo][standalone] Consolidate lists
Oct 28 2019, 9:35 AM
hctim closed D69516: [scudo][standalone] Consolidate lists.
Oct 28 2019, 9:35 AM · Restricted Project, Restricted Project
hctim accepted D69516: [scudo][standalone] Consolidate lists.

LGTM - review done in D69265

Oct 28 2019, 9:01 AM · Restricted Project, Restricted Project

Oct 25 2019

hctim accepted D69265: [scudo][standalone] Consolidate lists.

LGTM with final comments.

Oct 25 2019, 4:03 PM · Restricted Project, Restricted Project
hctim added inline comments to D69265: [scudo][standalone] Consolidate lists.
Oct 25 2019, 2:29 PM · Restricted Project, Restricted Project

Oct 24 2019

hctim added a comment to D69265: [scudo][standalone] Consolidate lists.

Can we consider adding a fuzz target for the linked lists? I recently did a similar thing in android for a ringbuffer, which you can see here. If you get it checked in, I can help with getting it running on OSS-Fuzz.

Oct 24 2019, 10:33 AM · Restricted Project, Restricted Project

Oct 11 2019

hctim committed rL374578: Add hctim to github-usernames..
Add hctim to github-usernames.
Oct 11 2019, 10:42 AM

Oct 9 2019

hctim updated the summary of D68754: [sanitizers] Update linker scripts to avoid emutls issues..
Oct 9 2019, 6:41 PM · Restricted Project, Restricted Project
hctim updated the diff for D68754: [sanitizers] Update linker scripts to avoid emutls issues..
  • Add test for emutls.
Oct 9 2019, 6:41 PM · Restricted Project, Restricted Project
hctim created D68754: [sanitizers] Update linker scripts to avoid emutls issues..
Oct 9 2019, 6:13 PM · Restricted Project, Restricted Project

Sep 27 2019

hctim committed rGd1e222e552d9: [libFuzzer] Dump trace and provide correct msg for overwritten input. (authored by hctim).
[libFuzzer] Dump trace and provide correct msg for overwritten input.
Sep 27 2019, 3:04 PM
hctim committed rL373130: [libFuzzer] Dump trace and provide correct msg for overwritten input..
[libFuzzer] Dump trace and provide correct msg for overwritten input.
Sep 27 2019, 3:03 PM
hctim closed D68067: [libFuzzer] Dump trace and provide correct msg for overwritten input..
Sep 27 2019, 3:03 PM · Restricted Project, Restricted Project

Sep 26 2019

hctim added inline comments to D68067: [libFuzzer] Dump trace and provide correct msg for overwritten input..
Sep 26 2019, 11:46 AM · Restricted Project, Restricted Project

Sep 25 2019

hctim created D68067: [libFuzzer] Dump trace and provide correct msg for overwritten input..
Sep 25 2019, 6:05 PM · Restricted Project, Restricted Project
hctim committed rGda3cf6165406: [libFuzzer] [NFC] Fix grammar error with "it's" (authored by hctim).
[libFuzzer] [NFC] Fix grammar error with "it's"
Sep 25 2019, 5:56 PM
hctim committed rL372937: [libFuzzer] [NFC] Fix grammar error with "it's".
[libFuzzer] [NFC] Fix grammar error with "it's"
Sep 25 2019, 5:56 PM

Sep 20 2019

hctim added a comment to rL372376: [MachinePipeliner] Improve the TargetInstrInfo API analyzeLoop/reduceLoopCount.

No problem! The Sanitizer bots are notoriously hard to reproduce - if you'd like to repro the best instructions I can give are at https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild :)

Sep 20 2019, 1:56 PM
hctim committed rG72a3d8597da5: Revert "[MachinePipeliner] Improve the TargetInstrInfo API… (authored by hctim).
Revert "[MachinePipeliner] Improve the TargetInstrInfo API…
Sep 20 2019, 1:26 PM
hctim added a reverting change for rG15e27b0b6d9d: [MachinePipeliner] Improve the TargetInstrInfo API analyzeLoop/reduceLoopCount: rG72a3d8597da5: Revert "[MachinePipeliner] Improve the TargetInstrInfo API….
Sep 20 2019, 1:26 PM
hctim committed rL372425: Revert "[MachinePipeliner] Improve the TargetInstrInfo API….
Revert "[MachinePipeliner] Improve the TargetInstrInfo API…
Sep 20 2019, 1:26 PM
hctim added a comment to rL372376: [MachinePipeliner] Improve the TargetInstrInfo API analyzeLoop/reduceLoopCount.

Reverted in rL372425

Sep 20 2019, 1:25 PM
hctim added a comment to rL372376: [MachinePipeliner] Improve the TargetInstrInfo API analyzeLoop/reduceLoopCount.

FYI - This broke the ASan buildbots:

Sep 20 2019, 1:25 PM

Sep 19 2019

hctim committed rG08f938bd1ae3: Revert "[CUDA][HIP] Fix typo in `BestViableFunction`" (authored by hctim).
Revert "[CUDA][HIP] Fix typo in `BestViableFunction`"
Sep 19 2019, 2:14 PM
hctim added a reverting change for rGeb231d15825a: [CUDA][HIP] Fix typo in `BestViableFunction`: rG08f938bd1ae3: Revert "[CUDA][HIP] Fix typo in `BestViableFunction`".
Sep 19 2019, 2:14 PM
hctim committed rL372353: Revert "[CUDA][HIP] Fix typo in `BestViableFunction`".
Revert "[CUDA][HIP] Fix typo in `BestViableFunction`"
Sep 19 2019, 2:09 PM
hctim committed rGf5fcf6156656: Don't false-positive match against binary path. (authored by hctim).
Don't false-positive match against binary path.
Sep 19 2019, 1:48 PM
hctim committed rL372351: Don't false-positive match against binary path..
Don't false-positive match against binary path.
Sep 19 2019, 1:46 PM