Thilo Schulz
544a1c0c1a
- Use MAP_FAILED error code for check whether mmap() was successful
...
- Replace various malloc() with Z_Malloc
- Fix several memory leaks when VM compilation failed and Com_Error is called
- Make failed mmap/VirtualAlloc/malloc calls fatal
2011-02-10 18:45:28 +00:00
Ludwig Nussel
233fcb0caa
fix stack alignment dynamically for OP_BLOCK_COPY
2010-06-02 14:46:16 +00:00
Ludwig Nussel
2950bb98ea
fix OP_BLOCK_COPY alignment for win64 (patch by Marcus Meissner)
2010-05-17 08:59:53 +00:00
Ludwig Nussel
760f4a1949
64bit Windows support (patch by Michael Menegakis)
2010-02-28 09:00:02 +00:00
Ludwig Nussel
3d7d2d9f5b
check all jumps ( #4249 )
2009-11-01 19:58:27 +00:00
Ludwig Nussel
da31866f6d
report memory violations in debug mode
2009-11-01 19:58:21 +00:00
Ludwig Nussel
4722d311fd
better range checks
2009-11-01 19:58:18 +00:00
Ludwig Nussel
ed98f65d10
optimize const before jump
2009-11-01 19:58:12 +00:00
Ludwig Nussel
a7dee44def
check const jump argument
2009-11-01 19:58:09 +00:00
Ludwig Nussel
2fecf6d6bc
get rid of gas remains
2009-10-26 21:59:03 +00:00
Ryan C. Gordon
31ce89361d
Fixed amd64 JIT output bug.
...
Partially fixes Bugzilla #4271 .
2009-09-15 06:30:00 +00:00
Tim Angus
9a5d971705
* Fix memory leak in win32 VM code (arQon/dmitry)
2008-08-06 16:09:29 +00:00
Thilo Schulz
5728fc2ec8
vsnprintf -> Q_vsnprintf
2008-03-25 16:44:01 +00:00
Ludwig Nussel
7a5243a3b2
use vm->callLevel to count recursive calls to VM_Call
...
Throw an error if vm->callLevel is set and VM_Free is called.
2008-03-24 21:20:55 +00:00
Tim Angus
672cfbf16f
* Merge unified-sdl to trunk
...
* Bump Q3_VERSION to 1.35
2007-09-05 18:17:46 +00:00
Ludwig Nussel
fbe65853e4
new x86_64 vm that doesn't use gas
2007-08-16 11:02:21 +00:00
Ludwig Nussel
20e71c7dff
- fix OP_MODU and OP_MODI
...
- fix minor typos
2007-07-03 13:01:36 +00:00
Ludwig Nussel
8cb20658aa
another attempt to fix the alignment, this time hopfully for real
2007-07-03 12:53:00 +00:00
Ludwig Nussel
beaf352463
fix stack alignment
2007-07-03 08:16:21 +00:00
Ludwig Nussel
da2f4341c2
use native stack for vm stack as well, frees one register
2007-06-25 10:01:40 +00:00
Thilo Schulz
5dc3b35b49
- Fix loads of format string bugs
...
- Fix locally looping sounds, thanks to Timbo
2007-01-24 21:23:21 +00:00
Ludwig Nussel
39f2e449b6
use mmap to allocate memory for generated code to be able to set PROT_EXEC
2006-03-04 11:14:44 +00:00
Ludwig Nussel
13039ef44f
make memory for generated opcodes executable so the program works with
...
enabled NX feature.
2006-01-06 19:11:05 +00:00
Ludwig Nussel
79ceef93cc
store temporary files in /tmp to save space in ~
2005-11-13 18:33:28 +00:00
Ludwig Nussel
590988222f
- crash solved
2005-11-06 16:32:42 +00:00
Ludwig Nussel
48ee88ad77
- move code for standalone compilation out of vm_x86_64.c
...
- reset vm->compiled if something goes wrong in VM_Compile
2005-11-06 13:50:28 +00:00
Ludwig Nussel
58512aff09
use memcpy for OP_BLOCK_COPY
2005-10-29 17:42:12 +00:00
Tim Angus
05e8ab9538
* Added STATUS
...
* Updated TODO
* Moved ChangeLog to root
* Updated ChangeLog
* s/Foobar/Quake III Arena Source Code/
* Biggest patch EVAR. I wonder how many mail boxes this will fill...
2005-10-29 01:53:09 +00:00
Ludwig Nussel
0bf8e3a8b0
add x86_64 vm. experimental, not enabled by default. you need as for it
...
to work.
2005-10-27 21:13:47 +00:00