ia32rtools.git
10 years agofix comment check
notaz [Tue, 20 May 2014 22:46:55 +0000 (01:46 +0300)]
fix comment check

10 years agocvt_data: header output support
notaz [Tue, 25 Mar 2014 01:42:33 +0000 (03:42 +0200)]
cvt_data: header output support

10 years agoplugin: don't overapply near ptr
notaz [Tue, 25 Mar 2014 01:41:13 +0000 (03:41 +0200)]
plugin: don't overapply near ptr

10 years agotranslate: initial header gen code
notaz [Mon, 24 Mar 2014 00:15:25 +0000 (02:15 +0200)]
translate: initial header gen code

10 years agotranslate: rudimentary mmx supprt, more flags for dec
notaz [Sun, 16 Mar 2014 00:16:53 +0000 (02:16 +0200)]
translate: rudimentary mmx supprt, more flags for dec

10 years agotranslate: more sub flags and shrd
notaz [Fri, 14 Mar 2014 02:19:57 +0000 (04:19 +0200)]
translate: more sub flags and shrd

10 years agoallow float type
notaz [Fri, 14 Mar 2014 00:22:03 +0000 (02:22 +0200)]
allow float type

10 years agotranslate: handle more cases with args
notaz [Thu, 13 Mar 2014 01:28:51 +0000 (03:28 +0200)]
translate: handle more cases with args

also do all segment prefixes

10 years agotranslate: handle another stackframe setup way
notaz [Tue, 11 Mar 2014 22:35:07 +0000 (00:35 +0200)]
translate: handle another stackframe setup way

10 years agosome more stdc syms
notaz [Tue, 11 Mar 2014 17:39:18 +0000 (19:39 +0200)]
some more stdc syms

10 years agohandle some masm vs some_other_msvc issues
notaz [Tue, 11 Mar 2014 02:53:41 +0000 (04:53 +0200)]
handle some masm vs some_other_msvc issues

10 years agoplugin: detect lea offsets
notaz [Sun, 9 Mar 2014 23:55:46 +0000 (01:55 +0200)]
plugin: detect lea offsets

10 years agotranslate: detect more invalid writes to args
notaz [Sun, 9 Mar 2014 19:19:31 +0000 (21:19 +0200)]
translate: detect more invalid writes to args

10 years agotranslate: improve vararg handling a bit more
notaz [Sun, 9 Mar 2014 01:19:24 +0000 (03:19 +0200)]
translate: improve vararg handling a bit more

10 years agosome func ptr arg type checking
notaz [Sat, 8 Mar 2014 00:52:39 +0000 (02:52 +0200)]
some func ptr arg type checking

10 years agotranslate: some vararg improvements
notaz [Fri, 7 Mar 2014 02:11:31 +0000 (04:11 +0200)]
translate: some vararg improvements

10 years agoadd a license
notaz [Wed, 5 Mar 2014 01:36:47 +0000 (03:36 +0200)]
add a license

10 years agominor makefile update
notaz [Wed, 5 Mar 2014 00:39:19 +0000 (02:39 +0200)]
minor makefile update

10 years agotranslate: extra check
notaz [Sat, 1 Mar 2014 19:52:26 +0000 (21:52 +0200)]
translate: extra check

10 years agomore APIs
notaz [Sat, 1 Mar 2014 19:52:01 +0000 (21:52 +0200)]
more APIs

10 years agomove endthreadex to stdc.list
notaz [Fri, 28 Feb 2014 23:54:30 +0000 (01:54 +0200)]
move endthreadex to stdc.list

10 years agorun_imp.sh: use explicit args
notaz [Fri, 28 Feb 2014 22:45:31 +0000 (00:45 +0200)]
run_imp.sh: use explicit args

10 years agotranslate: fix non-32bit mul and add with carry
notaz [Wed, 26 Feb 2014 01:45:08 +0000 (03:45 +0200)]
translate: fix non-32bit mul and add with carry

10 years agotranslate: suppress a warning
notaz [Tue, 25 Feb 2014 23:22:08 +0000 (01:22 +0200)]
translate: suppress a warning

10 years agotranslate: check offset assigns if func is used
notaz [Mon, 24 Feb 2014 03:01:43 +0000 (05:01 +0200)]
translate: check offset assigns if func is used

10 years agocvt_data: use .hword (consistent 2 bytes), offsets from ;.org
notaz [Sun, 23 Feb 2014 00:18:00 +0000 (02:18 +0200)]
cvt_data: use .hword (consistent 2 bytes), offsets from ;.org

10 years agotranslate: start outputing after analysis, use define for userstack
notaz [Sat, 22 Feb 2014 18:55:15 +0000 (20:55 +0200)]
translate: start outputing after analysis, use define for userstack

10 years agoresolve some functions
notaz [Sat, 22 Feb 2014 02:26:35 +0000 (04:26 +0200)]
resolve some functions

10 years agotranslate: log unresolved calls, change error logging
notaz [Fri, 21 Feb 2014 22:32:08 +0000 (00:32 +0200)]
translate: log unresolved calls, change error logging

10 years agosome more arm winelib stuff
notaz [Fri, 21 Feb 2014 22:19:50 +0000 (00:19 +0200)]
some more arm winelib stuff

10 years agopartial ARM support
notaz [Fri, 21 Feb 2014 02:12:35 +0000 (04:12 +0200)]
partial ARM support

10 years agofix stupid lods/cmps/scas bugs
notaz [Tue, 18 Feb 2014 01:44:08 +0000 (03:44 +0200)]
fix stupid lods/cmps/scas bugs

what a time waste, DAMN IT!!!1111

10 years agotranslate: some casting improvements
notaz [Mon, 17 Feb 2014 23:09:34 +0000 (01:09 +0200)]
translate: some casting improvements

10 years agocvt_data: add a string filter, don't make all syms global
notaz [Mon, 17 Feb 2014 23:08:17 +0000 (01:08 +0200)]
cvt_data: add a string filter, don't make all syms global

10 years agocvt_data: allow to skip validation
notaz [Mon, 17 Feb 2014 02:50:44 +0000 (04:50 +0200)]
cvt_data: allow to skip validation

10 years agotranslate: change how things end
notaz [Mon, 17 Feb 2014 02:50:09 +0000 (04:50 +0200)]
translate: change how things end

10 years agotranslate: rework cc, jcc to func, lods
notaz [Mon, 17 Feb 2014 00:50:57 +0000 (02:50 +0200)]
translate: rework cc, jcc to func, lods

10 years agoreg return, __userstack, repe fix, more..
notaz [Sun, 16 Feb 2014 02:18:27 +0000 (04:18 +0200)]
reg return, __userstack, repe fix, more..

10 years agohlist: handle moar APIs
notaz [Sat, 15 Feb 2014 15:44:39 +0000 (17:44 +0200)]
hlist: handle moar APIs

10 years agotranslate: handle various cases from smacker
notaz [Sat, 15 Feb 2014 15:43:54 +0000 (17:43 +0200)]
translate: handle various cases from smacker

10 years agohandle decorated symbols better
notaz [Sat, 15 Feb 2014 15:40:08 +0000 (17:40 +0200)]
handle decorated symbols better

10 years agocmpmrg_text: allow to skip actual comparison
notaz [Fri, 14 Feb 2014 01:48:09 +0000 (03:48 +0200)]
cmpmrg_text: allow to skip actual comparison

not always needed

10 years agoplugin: rm all assume statements
notaz [Fri, 14 Feb 2014 01:47:14 +0000 (03:47 +0200)]
plugin: rm all assume statements

there can be multiple sections..

10 years agoyet more stuff for storm
notaz [Thu, 13 Feb 2014 02:45:57 +0000 (04:45 +0200)]
yet more stuff for storm

10 years agomore stuff storm needs
notaz [Wed, 12 Feb 2014 01:47:25 +0000 (03:47 +0200)]
more stuff storm needs

10 years agoint64/double hack
notaz [Mon, 10 Feb 2014 02:33:12 +0000 (04:33 +0200)]
int64/double hack

at least stackframe should be correct..

10 years agotranslate: 64bit division and rcl/rcr
notaz [Sun, 9 Feb 2014 01:22:25 +0000 (03:22 +0200)]
translate: 64bit division and rcl/rcr

10 years agotranslate: some 64bit math stuff, arg-reuse tailcall
notaz [Sat, 8 Feb 2014 21:40:56 +0000 (23:40 +0200)]
translate: some 64bit math stuff, arg-reuse tailcall

10 years agomkbridge: use names from pp, decorate them
notaz [Sat, 8 Feb 2014 21:33:54 +0000 (23:33 +0200)]
mkbridge: use names from pp, decorate them

10 years agoasmproc: handle offset tables better
notaz [Sat, 8 Feb 2014 21:33:26 +0000 (23:33 +0200)]
asmproc: handle offset tables better

10 years agoplugin: replace rva with offset, don't rm
notaz [Sat, 8 Feb 2014 21:31:21 +0000 (23:31 +0200)]
plugin: replace rva with offset, don't rm

10 years agotranslate: fixes
notaz [Sat, 8 Feb 2014 01:22:48 +0000 (03:22 +0200)]
translate: fixes

10 years agostorm hacks
notaz [Sat, 8 Feb 2014 01:21:06 +0000 (03:21 +0200)]
storm hacks

10 years agomoar APIs..
notaz [Sat, 8 Feb 2014 01:20:09 +0000 (03:20 +0200)]
moar APIs..

10 years agoplugin: more renaming
notaz [Sat, 8 Feb 2014 01:18:35 +0000 (03:18 +0200)]
plugin: more renaming

10 years agoextend API lists
notaz [Fri, 7 Feb 2014 01:18:49 +0000 (03:18 +0200)]
extend API lists

10 years agorun_exp.sh: take <in_c> file
notaz [Fri, 7 Feb 2014 01:31:43 +0000 (03:31 +0200)]
run_exp.sh: take <in_c> file

10 years agotranslate: pop stack align improvement, xchg
notaz [Fri, 7 Feb 2014 01:17:48 +0000 (03:17 +0200)]
translate: pop stack align improvement, xchg

10 years agoadd more msvcrt funcs
notaz [Fri, 7 Feb 2014 00:35:33 +0000 (02:35 +0200)]
add more msvcrt funcs

10 years agoplugin: handle named public labels
notaz [Thu, 6 Feb 2014 21:58:45 +0000 (23:58 +0200)]
plugin: handle named public labels

10 years agoasmproc: add option to ignore missing syms
notaz [Thu, 6 Feb 2014 21:57:27 +0000 (23:57 +0200)]
asmproc: add option to ignore missing syms

10 years agojecxz, improved push/pop pair
notaz [Mon, 3 Feb 2014 00:58:14 +0000 (02:58 +0200)]
jecxz, improved push/pop pair

10 years agoscas, DF, more pop stack adjust, etc..
notaz [Sun, 2 Feb 2014 02:33:30 +0000 (04:33 +0200)]
scas, DF, more pop stack adjust, etc..

10 years agokill 'assume cs'
notaz [Sat, 1 Feb 2014 18:48:24 +0000 (20:48 +0200)]
kill 'assume cs'

10 years agoadjust scripts for reuse
notaz [Fri, 31 Jan 2014 00:43:07 +0000 (02:43 +0200)]
adjust scripts for reuse

10 years agoautoadd includes, kill entrypoint
notaz [Fri, 31 Jan 2014 00:42:12 +0000 (02:42 +0200)]
autoadd includes, kill entrypoint

10 years agomake run_imp.sh more generic, add run_exp.sh
notaz [Wed, 29 Jan 2014 22:07:00 +0000 (00:07 +0200)]
make run_imp.sh more generic, add run_exp.sh

.. for dll exports

10 years agomore patches for masm to do correct output
notaz [Wed, 29 Jan 2014 02:08:05 +0000 (04:08 +0200)]
more patches for masm to do correct output

10 years agomasm compile, offsets not done yet
notaz [Tue, 28 Jan 2014 01:12:41 +0000 (03:12 +0200)]
masm compile, offsets not done yet

10 years agoplugin: handle non-local branches
notaz [Mon, 27 Jan 2014 01:03:10 +0000 (03:03 +0200)]
plugin: handle non-local branches

10 years agostarting a plugin
notaz [Sun, 26 Jan 2014 15:53:17 +0000 (17:53 +0200)]
starting a plugin

10 years agomove some files, fix winelib build
notaz [Wed, 22 Jan 2014 19:09:11 +0000 (21:09 +0200)]
move some files, fix winelib build

10 years agofixes, standalone works?
notaz [Tue, 21 Jan 2014 01:31:50 +0000 (03:31 +0200)]
fixes, standalone works?

10 years agosupport __fastcall
notaz [Sun, 19 Jan 2014 23:23:10 +0000 (01:23 +0200)]
support __fastcall

standalone starts, yay, but hangs later

10 years agofixes, standalone version builds
notaz [Sun, 19 Jan 2014 20:25:14 +0000 (22:25 +0200)]
fixes, standalone version builds

..but crashes

10 years ago.def tool, generate .lib and tramp on demand
notaz [Sat, 18 Jan 2014 19:48:35 +0000 (21:48 +0200)]
.def tool, generate .lib and tramp on demand

10 years agofixes, something compiles
notaz [Thu, 16 Jan 2014 02:30:54 +0000 (04:30 +0200)]
fixes, something compiles

more fixes needed

10 years agoindirect call stuff, fixes
notaz [Tue, 14 Jan 2014 02:14:14 +0000 (04:14 +0200)]
indirect call stuff, fixes

10 years agofix prototypes for data refs, tune var decl in translator
notaz [Sun, 12 Jan 2014 01:12:45 +0000 (03:12 +0200)]
fix prototypes for data refs, tune var decl in translator

10 years agotype checking in cvt
notaz [Sun, 12 Jan 2014 01:12:13 +0000 (03:12 +0200)]
type checking in cvt

10 years agomore work on cvt_data, works mostly
notaz [Fri, 10 Jan 2014 01:32:06 +0000 (03:32 +0200)]
more work on cvt_data, works mostly

10 years agostarting data converter tool
notaz [Thu, 9 Jan 2014 02:10:45 +0000 (04:10 +0200)]
starting data converter tool

10 years agodeal with all non-reg-arg funcs
notaz [Tue, 7 Jan 2014 23:52:03 +0000 (01:52 +0200)]
deal with all non-reg-arg funcs

10 years agohandle small part of indirect calls
notaz [Tue, 7 Jan 2014 01:49:35 +0000 (03:49 +0200)]
handle small part of indirect calls

10 years agocast simplification, fixes, compiles to the end (no indirect)
notaz [Mon, 6 Jan 2014 02:10:16 +0000 (04:10 +0200)]
cast simplification, fixes, compiles to the end (no indirect)

10 years agofixes
notaz [Sat, 4 Jan 2014 02:52:05 +0000 (04:52 +0200)]
fixes

10 years agovarious fixes
notaz [Fri, 3 Jan 2014 02:06:24 +0000 (04:06 +0200)]
various fixes

work it, make it, do it, fix it
more then ever hour after hour
our work is never over

10 years agosome chunk handling, fixes
notaz [Thu, 2 Jan 2014 01:06:06 +0000 (03:06 +0200)]
some chunk handling, fixes

..but StarCraft_c.h is still wrong, and currently we have a crash

10 years agotype, bp frame, arg tracking improvements
notaz [Wed, 1 Jan 2014 21:29:53 +0000 (23:29 +0200)]
type, bp frame, arg tracking improvements

10 years agoflag/cond handling improvements
notaz [Wed, 1 Jan 2014 21:28:42 +0000 (23:28 +0200)]
flag/cond handling improvements

10 years agovarious fixes
notaz [Wed, 1 Jan 2014 00:31:17 +0000 (02:31 +0200)]
various fixes

10 years agomark pure __stdcall funcs as such
notaz [Tue, 31 Dec 2013 21:50:17 +0000 (23:50 +0200)]
mark pure __stdcall funcs as such

some of them are callbacks to WINAPI or some dlls..

10 years agofuncarg fixes, struct arg handling of some sorts..
notaz [Tue, 31 Dec 2013 00:50:15 +0000 (02:50 +0200)]
funcarg fixes, struct arg handling of some sorts..

10 years agoheader pre-parsing
notaz [Mon, 30 Dec 2013 23:54:22 +0000 (01:54 +0200)]
header pre-parsing

10 years agouse unsigned types, cc+nested branch fix, var type cast
notaz [Mon, 30 Dec 2013 00:43:25 +0000 (02:43 +0200)]
use unsigned types, cc+nested branch fix, var type cast

10 years agoimprove arg collect yet more, tune asm
notaz [Sun, 29 Dec 2013 02:07:16 +0000 (04:07 +0200)]
improve arg collect yet more, tune asm

10 years agofunc chunks, improved arg collect, disasm
notaz [Sat, 28 Dec 2013 01:21:15 +0000 (03:21 +0200)]
func chunks, improved arg collect, disasm

10 years agovararg funcs/calls, ebp- in ebp_frame, fixes
notaz [Thu, 26 Dec 2013 02:18:17 +0000 (04:18 +0200)]
vararg funcs/calls, ebp- in ebp_frame, fixes

10 years agoimproved type handling and cast generation
notaz [Wed, 25 Dec 2013 02:35:36 +0000 (04:35 +0200)]
improved type handling and cast generation

10 years agofix some 32bit-host issues
notaz [Tue, 24 Dec 2013 21:38:25 +0000 (23:38 +0200)]
fix some 32bit-host issues