Fixed a small bug in the "disassembler" (objdump parser).
commit86f875c79d1ef9cb671fba3a3c28dddb1c856db6
authorstrange <kawk256@gmail.com>
Thu, 31 Dec 2009 00:43:27 +0000 (30 16:43 -0800)
committerstrange <kawk256@gmail.com>
Thu, 31 Dec 2009 00:43:27 +0000 (30 16:43 -0800)
tree7c613a9efbf4b03f99f3fcd87178f45792da8da7
parent8fbfd99af00444245522ebe9704487ae473bd074
Fixed a small bug in the "disassembler" (objdump parser).

Now, for the time that it takes to execute aesalon:

$ time ./aesalon
aesalon program monitor, version 0.0.6, copyright (C) 2009 strange <kawk256@gmail.com>
usage: ./aesalon [arguments] executable [executable arguments]
        --usage, -h             Print this usage message.
        --log-file, -l          Sets the file to log memory events to, for future reconstruction.
        --use-port              Sets the port to listen on for connections.

real    0m0.005s

$ time ./aesalon aesalon
Portal::handle_signal(): status: (1407): 000000000010101111111, signal: 5
aesalon program monitor, version 0.0.6, copyright (C) 2009 strange <kawk256@gmail.com>
usage: aesalon [arguments] executable [executable arguments]
        --usage, -h             Print this usage message.
        --log-file, -l          Sets the file to log memory events to, for future reconstruction.
        --use-port              Sets the port to listen on for connections.
Portal::handle_signal(): status: (0): 000000000000000000000, signal: -1

real    0m3.296s

Not too bad, considering how long it used to take. That means that parsing
objdump's output is taking most of the time, now.
src/monitor/asm/Disassembler.cpp