Page MenuHomePhabricator

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

oskarwirga (Oskar Wirga)
User

Projects

User does not belong to any projects.

User Details

User Since
Apr 16 2023, 1:55 PM (33 w, 6 d)

Recent Activity

Sep 11 2023

oskarwirga added inline comments to D148654: Modify BoundsSan to improve debuggability.
Sep 11 2023, 2:59 AM · Restricted Project, Restricted Project, Restricted Project

Sep 6 2023

oskarwirga planned changes to D154119: Fix: Distinguish CFI Metadata Checks in MergeFunctions Pass.
Sep 6 2023, 5:47 AM · Restricted Project, Restricted Project

Sep 5 2023

oskarwirga added inline comments to D154119: Fix: Distinguish CFI Metadata Checks in MergeFunctions Pass.
Sep 5 2023, 2:48 PM · Restricted Project, Restricted Project
oskarwirga added a comment to D148654: Modify BoundsSan to improve debuggability.

ping

Sep 5 2023, 11:25 AM · Restricted Project, Restricted Project, Restricted Project
oskarwirga added a comment to D154119: Fix: Distinguish CFI Metadata Checks in MergeFunctions Pass.

ping

Sep 5 2023, 11:24 AM · Restricted Project, Restricted Project

Aug 28 2023

oskarwirga updated the diff for D154119: Fix: Distinguish CFI Metadata Checks in MergeFunctions Pass.

Remove more unnecessary metadata from test

Aug 28 2023, 9:58 AM · Restricted Project, Restricted Project
oskarwirga updated the diff for D154119: Fix: Distinguish CFI Metadata Checks in MergeFunctions Pass.

Address @kyulee 's comments

Aug 28 2023, 9:54 AM · Restricted Project, Restricted Project

Aug 24 2023

oskarwirga updated the diff for D154119: Fix: Distinguish CFI Metadata Checks in MergeFunctions Pass.

Update to use cmpValues() instead of cmpBasicBlock

Aug 24 2023, 3:28 PM · Restricted Project, Restricted Project

Aug 15 2023

oskarwirga updated the diff for D148654: Modify BoundsSan to improve debuggability.

Fix clang crash and retest

Aug 15 2023, 9:06 AM · Restricted Project, Restricted Project, Restricted Project

Aug 14 2023

oskarwirga added a comment to D154119: Fix: Distinguish CFI Metadata Checks in MergeFunctions Pass.

ping

Aug 14 2023, 10:28 AM · Restricted Project, Restricted Project

Aug 3 2023

oskarwirga added a comment to D154119: Fix: Distinguish CFI Metadata Checks in MergeFunctions Pass.

ping

Aug 3 2023, 2:26 AM · Restricted Project, Restricted Project
oskarwirga planned changes to D148654: Modify BoundsSan to improve debuggability.
Aug 3 2023, 2:26 AM · Restricted Project, Restricted Project, Restricted Project

Jul 24 2023

oskarwirga updated the diff for D148654: Modify BoundsSan to improve debuggability.

Properly refactor the code bc my last attempt was flawed -_-

Jul 24 2023, 8:08 AM · Restricted Project, Restricted Project, Restricted Project

Jul 21 2023

oskarwirga added a comment to D96004: [AArch64] Stack probing for function prologues.

I've spent some time myself working rebasing this stack and getting it green. Currently running into a runtime crash in libunwind where parseFDEInstructions is being called over and over and exhausting stack memory. Current best guess is that perhaps the stack probing is messing up the call frame information in such a way that causes a loop in the libunwind. If anyone has any suggestions of where to look or how to debug this I would appreciate it :)

Jul 21 2023, 2:22 PM · Restricted Project, Restricted Project
oskarwirga added a comment to D154119: Fix: Distinguish CFI Metadata Checks in MergeFunctions Pass.

ping

Jul 21 2023, 10:00 AM · Restricted Project, Restricted Project
oskarwirga added a comment to D148654: Modify BoundsSan to improve debuggability.

ping

Jul 21 2023, 9:59 AM · Restricted Project, Restricted Project, Restricted Project

Jul 13 2023

oskarwirga added inline comments to D148654: Modify BoundsSan to improve debuggability.
Jul 13 2023, 2:44 PM · Restricted Project, Restricted Project, Restricted Project
oskarwirga updated the diff for D148654: Modify BoundsSan to improve debuggability.

Refactor CodeGen code

Jul 13 2023, 2:10 PM · Restricted Project, Restricted Project, Restricted Project
oskarwirga added inline comments to D148654: Modify BoundsSan to improve debuggability.
Jul 13 2023, 1:10 PM · Restricted Project, Restricted Project, Restricted Project
oskarwirga added reviewers for D148654: Modify BoundsSan to improve debuggability: vitalybuka, aeubanks, asbirlea.
Jul 13 2023, 11:16 AM · Restricted Project, Restricted Project, Restricted Project
oskarwirga added reviewers for D154119: Fix: Distinguish CFI Metadata Checks in MergeFunctions Pass: luqmana, dingxiangfei2009, eeckstein.
Jul 13 2023, 11:14 AM · Restricted Project, Restricted Project

Jul 6 2023

oskarwirga added a comment to D154119: Fix: Distinguish CFI Metadata Checks in MergeFunctions Pass.

ping :^)

Jul 6 2023, 11:00 AM · Restricted Project, Restricted Project

Jul 5 2023

oskarwirga added a comment to D148654: Modify BoundsSan to improve debuggability.

ping :)

Jul 5 2023, 1:57 PM · Restricted Project, Restricted Project, Restricted Project

Jul 3 2023

oskarwirga updated the diff for D154119: Fix: Distinguish CFI Metadata Checks in MergeFunctions Pass.

Added checks for distinct metadata in operands to prevent merging unless it's just debug info. This ensures that distinct metadata, which should be treated as different, is not merged.

Jul 3 2023, 12:30 PM · Restricted Project, Restricted Project

Jun 30 2023

oskarwirga added inline comments to D154119: Fix: Distinguish CFI Metadata Checks in MergeFunctions Pass.
Jun 30 2023, 5:40 PM · Restricted Project, Restricted Project
oskarwirga updated the diff for D154119: Fix: Distinguish CFI Metadata Checks in MergeFunctions Pass.

Generalize the metadata checks

Jun 30 2023, 3:13 PM · Restricted Project, Restricted Project

Jun 29 2023

oskarwirga added inline comments to D154119: Fix: Distinguish CFI Metadata Checks in MergeFunctions Pass.
Jun 29 2023, 1:33 PM · Restricted Project, Restricted Project
oskarwirga requested review of D154119: Fix: Distinguish CFI Metadata Checks in MergeFunctions Pass.
Jun 29 2023, 10:46 AM · Restricted Project, Restricted Project

Jun 1 2023

oskarwirga updated the diff for D151276: Weaken MFI Max Call Frame Size Assertion.

Lets go back to what makes the least changes

Jun 1 2023, 9:54 AM · Restricted Project, Restricted Project

May 31 2023

oskarwirga updated the diff for D151276: Weaken MFI Max Call Frame Size Assertion.

Is there any reason why this would be emitting less instructions for just asan-check-memaccess-add.ll?

May 31 2023, 8:34 PM · Restricted Project, Restricted Project
oskarwirga added inline comments to D151276: Weaken MFI Max Call Frame Size Assertion.
May 31 2023, 8:24 PM · Restricted Project, Restricted Project
oskarwirga updated the diff for D151276: Weaken MFI Max Call Frame Size Assertion.

Make the target generic aarch64

May 31 2023, 12:48 PM · Restricted Project, Restricted Project
oskarwirga updated the diff for D151276: Weaken MFI Max Call Frame Size Assertion.
May 31 2023, 12:18 PM · Restricted Project, Restricted Project
oskarwirga updated the diff for D151276: Weaken MFI Max Call Frame Size Assertion.

Make sure we don't go from false to true.

May 31 2023, 11:24 AM · Restricted Project, Restricted Project

May 24 2023

oskarwirga updated the diff for D151276: Weaken MFI Max Call Frame Size Assertion.

Fix the test to be more normal

May 24 2023, 6:37 PM · Restricted Project, Restricted Project
oskarwirga added a comment to D148654: Modify BoundsSan to improve debuggability.

Jobs are now passing, CC: @nlopes @chandlerc @jgalenson for review :)

May 24 2023, 9:45 AM · Restricted Project, Restricted Project, Restricted Project

May 23 2023

oskarwirga added a comment to D151276: Weaken MFI Max Call Frame Size Assertion.

I'm not sure this is the correct fix. The assertion specifically checks that MaxCallFrameSize and AdjustsStack computed here are the same as computed by MachineFrameInfo::computeMaxCallFrameSize.
Have you been able to figure out why the results of the calculations are different?

May 23 2023, 9:16 PM · Restricted Project, Restricted Project
oskarwirga added inline comments to D151276: Weaken MFI Max Call Frame Size Assertion.
May 23 2023, 7:37 PM · Restricted Project, Restricted Project
oskarwirga requested review of D151276: Weaken MFI Max Call Frame Size Assertion.
May 23 2023, 6:27 PM · Restricted Project, Restricted Project

May 15 2023

oskarwirga changed the visibility for D148654: Modify BoundsSan to improve debuggability.
May 15 2023, 11:09 AM · Restricted Project, Restricted Project, Restricted Project

May 12 2023

oskarwirga added inline comments to D148654: Modify BoundsSan to improve debuggability.
May 12 2023, 3:35 PM · Restricted Project, Restricted Project, Restricted Project
oskarwirga updated the diff for D148654: Modify BoundsSan to improve debuggability.

Add full context

May 12 2023, 12:55 PM · Restricted Project, Restricted Project, Restricted Project
oskarwirga added a comment to D148654: Modify BoundsSan to improve debuggability.

I have y'all added here because of your past work on BoundsSan, if you know of anyone else who may be able to provide review please tag them!

May 12 2023, 11:34 AM · Restricted Project, Restricted Project, Restricted Project

May 11 2023

oskarwirga updated the diff for D148654: Modify BoundsSan to improve debuggability.

clang-format 😺

May 11 2023, 6:52 PM · Restricted Project, Restricted Project, Restricted Project

May 10 2023

oskarwirga updated the diff for D148654: Modify BoundsSan to improve debuggability.

Rebase on trunk :)

May 10 2023, 5:37 PM · Restricted Project, Restricted Project, Restricted Project

May 3 2023

oskarwirga updated the diff for D148654: Modify BoundsSan to improve debuggability.

Turns out the lowering of ubsantrap() to a single instruction resulted in binaries that did NOT have nonmerged traps, so this is going back to what we had before. I also added tests to show that the trap gets preserved.

May 3 2023, 11:49 AM · Restricted Project, Restricted Project, Restricted Project

May 2 2023

oskarwirga updated the diff for D148654: Modify BoundsSan to improve debuggability.

Update the diff to use the nomerge attribute

May 2 2023, 7:00 PM · Restricted Project, Restricted Project, Restricted Project
oskarwirga updated the summary of D148654: Modify BoundsSan to improve debuggability.
May 2 2023, 6:11 PM · Restricted Project, Restricted Project, Restricted Project
oskarwirga added a comment to D148654: Modify BoundsSan to improve debuggability.

Thinking about this a bit more, should the trap not have an associated stack trace that can be symbolicated to tell you which line of code was crashing? If the issue is that multiple traps can get folded together, the nomerge attribute (D78659) could be useful.

May 2 2023, 6:10 PM · Restricted Project, Restricted Project, Restricted Project

Apr 19 2023

Herald added a project to D40863: [AArch64][Darwin] Implement stack probing for static and dynamic stack objects: Restricted Project.

I am looking to add stack probing for linux AArch64 using this diff as a basis for my work. Are there any plans to re-introduce this diff for Darwin? Is that something I should take on as well? Context is I am working on mobile apps and we want to add -fstack-clash-protection support :)

Apr 19 2023, 11:30 AM · Restricted Project

Apr 18 2023

oskarwirga changed the visibility for D148654: Modify BoundsSan to improve debuggability.
Apr 18 2023, 12:46 PM · Restricted Project, Restricted Project, Restricted Project
oskarwirga requested review of D148654: Modify BoundsSan to improve debuggability.
Apr 18 2023, 12:45 PM · Restricted Project, Restricted Project, Restricted Project