audk/ShellPkg/Library/UefiShellDebug1CommandsLib
Ruiyu Ni f1a7d73a68 ShellPkg/dmem: Only dump sizeof (EFI_SYSTEM_TABLE) bytes for gST
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1236

When "dmem" runs without additional arguments, it dumps the memory
content of EFI_SYSTEM_TABLE. But today's implementation dumps 512
bytes. It's not correct because sizeof (EFI_SYSTEM_TABLE) is less
than 512, the 512-read causes page fault exception in a heap-guard
enabled environment.

The patch changes the implementation to only dump
sizeof (EFI_SYSTEM_TABLE) bytes for gST.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Jim Dailey <jim_dailey@.com>
2018-10-24 12:18:22 +08:00
..
Edit ShellPkg/edit: Fix heap access out-of-bounds 2018-08-20 14:41:01 +08:00
HexEdit ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
SmbiosView ShellPkg/SmbiosView: Update SmbiosView for SMBIOS3.2.0 2018-08-30 10:06:10 +08:00
Comp.c ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
Compress.c ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
Compress.h ShellPkg/UefiShellDebug1CommandsLib: sync Compress() definition with decl. 2018-02-08 18:21:11 +01:00
Dblk.c ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
Dmem.c ShellPkg/dmem: Only dump sizeof (EFI_SYSTEM_TABLE) bytes for gST 2018-10-24 12:18:22 +08:00
DmpStore.c ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
EditInputBar.c ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
EditInputBar.h ShellPkg/[hex]edit: use SimpleTextInEx to read console 2018-02-13 10:54:45 +08:00
EditMenuBar.c ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
EditMenuBar.h ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
EditStatusBar.c ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
EditStatusBar.h ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
EditTitleBar.c ShellPkg/UefiShellDebug1CommandsLib: Remove unnecessary EFIAPI 2016-10-09 10:27:47 +08:00
EditTitleBar.h ShellPkg/UefiShellDebug1CommandsLib: Remove unnecessary EFIAPI 2016-10-09 10:27:47 +08:00
EfiCompress.c ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
EfiDecompress.c ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
LoadPciRom.c ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
MemMap.c ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
Mm.c ShellPkg/UefiShellDebug1CommandsLib: remove I/O address limit from 'mm' 2018-03-01 17:01:30 +00:00
Mode.c ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
Pci.c ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
Pci.h ShellPkg/pci: Use PCI definitions defined in MdePkg 2017-01-25 16:09:05 +08:00
SerMode.c ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
SetSize.c ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
SetVar.c ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
UefiShellDebug1CommandsLib.c ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
UefiShellDebug1CommandsLib.h ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
UefiShellDebug1CommandsLib.inf ShellPkg/UefiShellDebug1CommandsLib: Remove unused PCDs 2018-09-30 09:16:04 +08:00
UefiShellDebug1CommandsLib.uni ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00