1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 07:22:55 +01:00
llvm-mirror/tools/llee/README.txt
Misha Brukman 6ad21447f8 A lot of changes were suggested by Chris.
ExecveHandler.c:
* Use "" instead of <> for LLVM include files
* Use raw I/O, we don't need buffering
* Set errno = 0 before using open()
* strlen() doesn't count NULL terminator in its size
* Use memcmp() instead of strcmp()
* Return result of the real execve(), not 0
* Search for path to bytecode file if not absolute/relative path

SysUtils.c:
* Convert all comments to C-style
* Stop using `bool', use `unsigned' instead

SysUtils.h:
* Stop using `bool', use `unsigned' instead
* Updated comment to FindExecutable()

README.txt:
* Describe the goal of LLEE and an application

llvm-svn: 7911
2003-08-15 23:31:16 +00:00

13 lines
563 B
Plaintext

LLEE: (LL)VM (E)xecution (E)nvironment
This tool presents a virtual execution environment for LLVM programs. By
preloading a shared object which defines a custom execve() functions, we can
execute bytecode files with the JIT directly, without the user ever thinking
about it.
Thus, a user can freely run any program, native or LLVM bytecode, transparently,
and without even being aware of it.
To use LLEE, run `./llee <native_program>', a good choice is a shell. Anything
started within that program will be affected by the execve() replacement.