Tags: microsoft/mu_feature_debugger
Tags
Various fixes and improvements to UefiExt (#78) ## Description Contains the following fixes and improvements 1. Created simple `!monitor` command for invoking GDB monitor commands without the tedious `.exdicmd target:0:...` command. This will also clean up the output and capture output even if verbose output is disabled. 2. Add support for a Rust debugger environment 3. in-progress implementation of ELF header dumping 4. Fixed issue with image magic size comparison. 5. Switch `!AdvLog` to use local definition to support parsing without C symbols. 6. Implemented environment autodetection by capture exdicmd response output. - [ ] Impacts functionality? - [ ] Impacts security? - [ ] Breaking change? - [ ] Includes tests? - [ ] Includes documentation? ## How This Was Tested Tested locally ## Integration Instructions N/A
Enable ARM64 build for UefiExt.dll (#66) ## Description Adds an arm64 build for the UefiExt windbg debugger extension. - [x] Impacts functionality? - [ ] Impacts security? - [ ] Breaking change? - [ ] Includes tests? - [ ] Includes documentation? ## How This Was Tested N/A ## Integration Instructions N/A
Repo File Sync: Update Mu DevOps and container version (#63) synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). 🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced. --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#11004666094](https://github.com/microsoft/mu_devops/actions/runs/11004666094) Signed-off-by: Project Mu UEFI Bot <[email protected]>
pip: update edk2-pytool-extensions requirement from ~=0.27.11 to ~=0.… …27.12 (#53) Updates the requirements on [edk2-pytool-extensions](https://github.com/tianocore/edk2-pytool-extensions) to permit the latest version. Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Implement hardware watchpoints or data breakpoints (#37) ## Description Implement up to 4 watchpoints, or data breakpoints, which are represented by the GDB breakpoints types 2-4. These can be set in windbg by using the `ba` command, e.g. `ba w8 0x10000001`. These can be set in GDB by using the `watch` for writes, `rwatch` for reads, or `awatch` for either. #33 - [x] Impacts functionality? - [ ] Impacts security? - [ ] Breaking change? - [ ] Includes tests? - [ ] Includes documentation? ## How This Was Tested Tested on Q35 and SBSA on QEMU. ## Integration Instructions N/A
Fix single step on AARCH64 processors (#32) ## Description On AARCH64 processors single step was not working on real hardware because either 1. the OS lock register was set, or 2. the DEBUG exceptions were masked by the DAIF configuration. This makes sure neither are true in debugger configuration. - [x] Impacts functionality? - [ ] Impacts security? - [ ] Breaking change? - [ ] Includes tests? - [ ] Includes documentation? ## How This Was Tested Manually tested on an AARCH64 machine. ## Integration Instructions N/A
Improvements to UEFIExt and fix register writes (#23) ## Description 1. Fix issue with setting registers. This requires a windbgx fix as well. - microsoft/WinDbg-Samples#108 3. Add `!reboot` command for better reboot experience 4. Fixes setting `!modulebreak` after an existing modulebreak 5. fix full load of module on iterative runs of `!findall` 6. improvements to `!advlog` - [X] Impacts functionality? - [ ] Impacts security? - [ ] Breaking change? - [ ] Includes tests? - [ ] Includes documentation? ## How This Was Tested Tested with Q35 & SBSA ## Integration Instructions N/A
Add workaround for windbg trying to read windows shared data page (#21) ## Description Windbg tries to read the Windows shared data page as some sort of heuristic when connecting. Because this page does not exist in UEFI mappings, Windows may loop on this read so long as it fails. This work around will just return 0 when reads occur to this well-known VA so cause the heuristic to fail fast. - [x] Impacts functionality? - [ ] Impacts security? - [ ] Breaking change? - [ ] Includes tests? - [ ] Includes documentation? ## How This Was Tested Tested on Q35 virtual platform. ## Integration Instructions N/A
Repo File Sync: synced file(s) with microsoft/mu_devops (#6) Signed-off-by: Project Mu UEFI Bot <[email protected]> Co-authored-by: Chris Fernald <[email protected]>