Page MenuHomePhabricator

Please use GitHub pull requests for new patches. Phabricator shutdown timeline

barcharcraz (Charlie Barto)
User

Projects

User does not belong to any projects.

User Details

User Since
Jun 22 2021, 4:14 PM (117 w, 6 d)

Recent Activity

Aug 9 2023

barcharcraz edited reviewers for D155879: Summary: [asan][win][msvc] override new and delete and seperate TUs, added: strega-nil; removed: ubsan.
Aug 9 2023, 10:53 AM · Restricted Project, Restricted Project
barcharcraz added reviewers for D155879: Summary: [asan][win][msvc] override new and delete and seperate TUs: ubsan, alvinhochun, mstorsjo.
Aug 9 2023, 10:53 AM · Restricted Project, Restricted Project

Aug 3 2023

barcharcraz published D155879: Summary: [asan][win][msvc] override new and delete and seperate TUs for review.
Aug 3 2023, 11:44 AM · Restricted Project, Restricted Project

Jul 19 2023

barcharcraz closed D149876: [sanitizer][asan][win] Intercept _strdup on windows instead of strdup..

This was merged as 31263211c6a4ef454216f2edbf9b2083a4c1474d, but the magic words to close the revision were missing.

Jul 19 2023, 4:29 PM · Restricted Project, Restricted Project

Jul 11 2023

barcharcraz updated subscribers of D151008: [sanitizer][asan][msvc] Teach GetInstructionSize about many instructions that appear in MSVC generated code..
Jul 11 2023, 4:22 PM · Restricted Project, Restricted Project

Jul 5 2023

barcharcraz added a comment to D149876: [sanitizer][asan][win] Intercept _strdup on windows instead of strdup..

I forgot to add llvm-commits as a subscriber here (I guess simply setting the repository field correctly is not enough), so it's been stuck on accepted for a while. I think this still applies cleanly though.

Jul 5 2023, 12:39 PM · Restricted Project, Restricted Project
barcharcraz updated the summary of D149876: [sanitizer][asan][win] Intercept _strdup on windows instead of strdup..
Jul 5 2023, 12:25 PM · Restricted Project, Restricted Project

Jun 7 2023

barcharcraz added a comment to D149876: [sanitizer][asan][win] Intercept _strdup on windows instead of strdup..

Can someone commit this? It should be good to go and I don't have commit access (long term I will probably be requesting commit access)

Jun 7 2023, 4:51 PM · Restricted Project, Restricted Project
barcharcraz requested review of D151008: [sanitizer][asan][msvc] Teach GetInstructionSize about many instructions that appear in MSVC generated code..
Jun 7 2023, 4:49 PM · Restricted Project, Restricted Project
barcharcraz accepted D151008: [sanitizer][asan][msvc] Teach GetInstructionSize about many instructions that appear in MSVC generated code..
Jun 7 2023, 4:47 PM · Restricted Project, Restricted Project

May 31 2023

barcharcraz updated the diff for D151008: [sanitizer][asan][msvc] Teach GetInstructionSize about many instructions that appear in MSVC generated code..
  • correct a few more comments
May 31 2023, 5:44 PM · Restricted Project, Restricted Project
barcharcraz updated the diff for D151008: [sanitizer][asan][msvc] Teach GetInstructionSize about many instructions that appear in MSVC generated code..
  • correct instruction encodings
  • prevent clang-format from wrapping some lines
May 31 2023, 1:15 PM · Restricted Project, Restricted Project

May 19 2023

barcharcraz updated the summary of D151008: [sanitizer][asan][msvc] Teach GetInstructionSize about many instructions that appear in MSVC generated code..
May 19 2023, 5:16 PM · Restricted Project, Restricted Project
barcharcraz updated the summary of D151008: [sanitizer][asan][msvc] Teach GetInstructionSize about many instructions that appear in MSVC generated code..
May 19 2023, 5:15 PM · Restricted Project, Restricted Project
barcharcraz requested review of D151008: [sanitizer][asan][msvc] Teach GetInstructionSize about many instructions that appear in MSVC generated code..
May 19 2023, 5:10 PM · Restricted Project, Restricted Project

May 16 2023

barcharcraz updated the diff for D149876: [sanitizer][asan][win] Intercept _strdup on windows instead of strdup..
  • move the macro to the end of the file.
  • clang-format
May 16 2023, 2:31 PM · Restricted Project, Restricted Project
barcharcraz updated the diff for D149769: [sanitizer][asan][win][msvc] Correct interception of strdup on windows, additionally correclty intercept memmove/memcpy on i386 windows..
  • merge the memcpy and memmove tests
  • clang-format
May 16 2023, 2:06 PM · Restricted Project, Restricted Project
barcharcraz updated the diff for D149769: [sanitizer][asan][win][msvc] Correct interception of strdup on windows, additionally correclty intercept memmove/memcpy on i386 windows..
  • Make memcpy and memmove tests unsupported on mingw
May 16 2023, 10:11 AM · Restricted Project, Restricted Project

May 12 2023

barcharcraz added a comment to D149769: [sanitizer][asan][win][msvc] Correct interception of strdup on windows, additionally correclty intercept memmove/memcpy on i386 windows..

Thanks for adding me in the loop. The change itself looks fine, though I haven't tried it on MinGW-w64 target yet. Some comments on the tests:

  • It seems the two tests memcpy_sanity.cpp and memmove_sanity.cpp does the same thing for the most part. Can they be merged into one single test file and switch between testing memmove and memcpy by checking argc/argv?
  • These tests will not work on MinGW-w64 as is because of the use of clang-cl command line flags. I have been fixing the asan tests to work on MinGW-w64 targets (see for example D150269) and there are now nightly builds that run asan tests. Please add // UNSUPPORTED: target={{.*-windows-gnu}} to disable the new tests for now. (It would be nice if you can make the test compatible with MinGW-w64, but that might be asking for too much.)
May 12 2023, 4:16 PM · Restricted Project, Restricted Project

May 11 2023

barcharcraz added inline comments to D149769: [sanitizer][asan][win][msvc] Correct interception of strdup on windows, additionally correclty intercept memmove/memcpy on i386 windows..
May 11 2023, 11:23 AM · Restricted Project, Restricted Project
barcharcraz updated the diff for D149769: [sanitizer][asan][win][msvc] Correct interception of strdup on windows, additionally correclty intercept memmove/memcpy on i386 windows..
  • revert changes to INIT_MEMCPY as they are redundant
  • clang format
May 11 2023, 11:22 AM · Restricted Project, Restricted Project

May 8 2023

barcharcraz added inline comments to D149769: [sanitizer][asan][win][msvc] Correct interception of strdup on windows, additionally correclty intercept memmove/memcpy on i386 windows..
May 8 2023, 10:12 AM · Restricted Project, Restricted Project

May 4 2023

barcharcraz published D149876: [sanitizer][asan][win] Intercept _strdup on windows instead of strdup. for review.
May 4 2023, 11:11 AM · Restricted Project, Restricted Project
barcharcraz added inline comments to D149769: [sanitizer][asan][win][msvc] Correct interception of strdup on windows, additionally correclty intercept memmove/memcpy on i386 windows..
May 4 2023, 11:10 AM · Restricted Project, Restricted Project
barcharcraz updated the diff for D149769: [sanitizer][asan][win][msvc] Correct interception of strdup on windows, additionally correclty intercept memmove/memcpy on i386 windows..

remove the changes to strdup from this diff.

May 4 2023, 11:00 AM · Restricted Project, Restricted Project

May 3 2023

barcharcraz published D149769: [sanitizer][asan][win][msvc] Correct interception of strdup on windows, additionally correclty intercept memmove/memcpy on i386 windows. for review.
May 3 2023, 12:05 PM · Restricted Project, Restricted Project

Jun 28 2022

Herald added a project to D87974: [Builtin] Add __builtin_zero_non_value_bits.: Restricted Project.
Jun 28 2022, 12:20 PM · Restricted Project, Restricted Project

May 4 2022

Herald added a project to D119213: [GlobalISel][TableGen] Fully qualify calls to llvm::format that have ::std:: types as paramters: Restricted Project.

@Paul-C-Anagnostopoulos Since you are the code-owner for TableGen... Is there anything else I need to do in order for this to be merged? It looks like header reorganization has made things no-longer break, but this fix will still make things more robust.

May 4 2022, 12:59 PM · Restricted Project, Restricted Project

Feb 24 2022

barcharcraz updated the diff for D119213: [GlobalISel][TableGen] Fully qualify calls to llvm::format that have ::std:: types as paramters.

I've removed the global qualification on ::llvm::format

Feb 24 2022, 1:07 PM · Restricted Project, Restricted Project

Feb 8 2022

barcharcraz added a comment to D119213: [GlobalISel][TableGen] Fully qualify calls to llvm::format that have ::std:: types as paramters.

llvm::format should also suffice, although it's slightly less specific (possibly matching llvm::llvm::format or similar). It won't trigger adl though.

Feb 8 2022, 4:47 PM · Restricted Project, Restricted Project
barcharcraz added a comment to D119213: [GlobalISel][TableGen] Fully qualify calls to llvm::format that have ::std:: types as paramters.

It appears to run ninja check-llvm which seems to have passed on windows at least.

Feb 8 2022, 1:16 PM · Restricted Project, Restricted Project
barcharcraz added a comment to D119213: [GlobalISel][TableGen] Fully qualify calls to llvm::format that have ::std:: types as paramters.

Did you run all the TableGen tests?

Feb 8 2022, 1:04 PM · Restricted Project, Restricted Project

Feb 7 2022

barcharcraz added a reviewer for D119213: [GlobalISel][TableGen] Fully qualify calls to llvm::format that have ::std:: types as paramters: Paul-C-Anagnostopoulos.
Feb 7 2022, 8:48 PM · Restricted Project, Restricted Project
barcharcraz requested review of D119213: [GlobalISel][TableGen] Fully qualify calls to llvm::format that have ::std:: types as paramters.
Feb 7 2022, 8:47 PM · Restricted Project, Restricted Project