Skip to content

Virtual machine using branch tracing

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
COPYING
Notifications You must be signed in to change notification settings

RagingBigFemaleBird/bt-vm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

    Virtual Machine using Breakpoint Tracing
    Copyright (C) 2012 Bi Wu

Refer to my dissertation for details

Instructions:
To compile,

	make ARCH=x86

	gcc -lncurses ncurse.c -o vm-term

To run,

	insmod btc.ko
	cat floppy-linux.img > /proc/btc
        mknod /dev/btc0 c your_device_number 0
	./vm-term /dev/btc0 0 32768

vm-term is the ncurse client to observe virtual machine output.
when vm-term is running:
F5 pause VM and bring up menu, in menu:
  press R to resume/pause VM execution  (always do this first. VM is by default paused)
  press B to place debug breakpoints
  press S to single step (not guaranteed to work)
HOME key scrolls up
END key scrolls down
other keys will be sent to VM, currently only accept a-z, 1-0, enter, space, backspace


Common problems:

vmalloc is not big enough: increase vmalloc size via boot parameter
random crashes: SMP need fixing but I was too lazy to do it

About

Virtual machine using branch tracing

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages