Name
VolInfo – Displays the contents of a firmware volume
Synopsis
VolInfo [options] [target]
Description
VolInfo is a utility which displays the contents of a firmware volume residing in a file for informational purposes.
Options
-x xref, --xref xref
xref is the path to a file-guid cross reference file.  This file will be used to provide human readable names to the GUIDs found in the firmware volume.
--offset offset
offset is the offset within the file to start processing the firmware volume.  This can be useful if the specified disk file is a firmware device image which generally will contain multiple firmware volume.  The offset is a number and can be specified as a decimal number or a hexadecimal number  (for example, 0x1ffe).  If a 'k' suffix is attached to the number, then the number will be multiplied by 1024 (0x400) to turn the number into kilobytes.
Examples
Assume that $(WORKSPACE) is /home/joeuser/src/edk2 and the firmware volumes have been built into Build/EdkUnix/DEBUG_UNIXGCC/FV.
~/src/edk2$ VolInfo  Build/EdkUnix/DEBUG_UNIXGCC/FV/FVMAIN.fv
Assuming that a firmware device image had been built and that the firmware volume of interest resided at byte offset 65536 of that file, then the following command would show that firmware volume.
~/src/edk2$ VolInfo  --offset 65536 path/to/FV/EDKUNIX.fd
Or, equivalently,
~/src/edk2$ VolInfo  --offset 64k path/to/FV/EDKUNIX.fd
Or, equivalently,
~/src/edk2$ VolInfo  --offset 0x10000 path/to/FV/EDKUNIX.fd
GuidedSectionTools.txt 
This (optional) file is built as part of the edk2 build process.  It will be generated in the FV directory alongside the firmware volume file.  The VolInfo utility will look for this file alongside the input firmware volume file, and if found it will read it's contents to define tools to use for extracting GUID defined firmware volume sections.
Each line contains three tokens and they are separated by whitespace.  The three tokens are (in order): 1) the GUID associated with the tool, 2) a name for the tool, and 3) the path to the tool executable.  An example of a possible line from the file:
a31280ad-481e-41b6-95e8-127f4c984779 TIANO /path/to/TianoCompress
Files 
GuidedSectionTools.txt
Bugs 
No known bugs.
Report bugs to issues@buildtools.tianocore.org
Files 
GuidedSectionTools.txt
License
Copyright (c)  1999-2009 Intel Corporation. All rights reserved.

This program and the accompanying materials are licensed and made available under the terms and
conditions of the BSD License which accompanies this distribution.  The full text of the license may be
found at:
http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES
OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.