LIA - User Manual - Command Line Help

<< Previous

LIA is a simple command line program that you configure and run with various command line arguments and switches. If you run LIA without any command line arguments you get a help screen similar to the one shown here:

LIA.exe - Version: 1.0 [Build: 1234]
Copyright (c) 2011 JetByte Limited
See http://www.LockExplorer.com for more details and updates.

-exe is required

Usage: LIA.exe -exe ProgramToTest.exe

Command line parameters:
 r -exe                        The program to check for lock inversions,
                               place in quotes if it contains spaces
 o -args                       Arguments to pass to the program,
                               place in quotes if more than one.
 o -dir                        The working directory for the program,
                               place in quotes if it contains spaces
 o -out                        The name of the output file, defaults to
                               LIA.log
 o -captureOut                 If specified, target process output (stdout)
                               will be caputured to the specified file, and
                               also reported at the end of the test.
 o -captureErr                 If specified, target process error output
                               (stderr) will be caputured to the specified
                               file, and also reported at the end of the
                               test.
 o -skipSingleThread           Ignores lock inversions that only occur
                               in calls from a single thread.
 o -raw                        Display raw data rather than fully reduced.
 o -reduce1                    Display partially reduced data.
 o -reduce2                    Display partially reduced data.
 o -symbols                    Set the symbol path for symbol resolution during
                               call stack display. By default the symbol path
                               consists of the working directory and the value
                               of the _NT_SYMBOL_PATH environment variable.
 o -stop                       Configure functions to cause call stack displays
                               to stop.
                               By default the following stop functions are
                               configured:
                                 _callthreadstartex
                                 _mainCRTStartup
                                 __tmainCRTStartup
                                 BaseThreadInitThunk
                                 @BaseThreadInitThunk@12
                               -stop "" - sets no stop functions
                               -stop filename - reads functions from
                               `filename` one function per line.
                               -stop func;func;func - specifies functions
                               directly on the command line.
 o -ignore                     Configure functions to be hidden in call stack
                               displays. Configure in the same way as -stop.
 o -dump                       Create a crash dump of the process
                               if an unhandled exception occurs.
 o -wait                       Pauses at the end until a key is pressed.
 o -noProgress                 Do not show progress when looking for
                               inversions.
 o -threads                    Specify the maximum number of threads to use
                               when looking for inversions after the target
                               completes.
                               Defaults to '0', which results in one thread per
                               processor. Note that due to the CPU intensive
                               nature of the scanning you can not specify more
                               threads than you have processors.
 o -lockID                     Display full lock IDs.
                               These can then be used with -excludeLock
 o -excludeLock                Configure locks to exclude from checking.
                               -excludeLock filename - reads locks to exclude
                               from `filename` one lockID per line.
                               -excludeLock [lockID1];[lockID2];[lockID3]
                               specifies locks to exclude from checking on the
                               command line.
 o -noCS                       Do NOT monitor Critical Sections.
 o -noSRW                      Do NOT monitor Slim Reader Writer Locks.
 o -noMUT                      Do NOT monitor Mutexes.

 r = required, o = optional
<< Previous

Latest News

New release of deadlock detection tools - 1.3.0.406
We've released new versions of both our Lock Inversion Detector, LID and our Lock Inversion Analyser, LIA today. This…
New release of deadlock detection tools - 1.2.0.329
We've released new versions of both our Lock Inversion Detector, LID and our Lock Inversion Analyser, LIA today. This…
New release of deadlock detection tools - 1.2.0.320
We've released new versions of both our Lock Inversion Detector, LID and our Lock Inversion Analyser, LIA today. This…