ia32rtools.git
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

10 years agoupdate asm
notaz [Tue, 24 Dec 2013 01:01:55 +0000 (03:01 +0200)]
update asm

10 years agorepe, vararg calls, tweaks, ++disasm
notaz [Mon, 23 Dec 2013 02:36:32 +0000 (04:36 +0200)]
repe, vararg calls, tweaks, ++disasm

- sub_419E50: strange tailcall markings
- some later func causes crash

10 years agojumptables, stack iterators, more prototypes, disasm fixes
notaz [Sun, 22 Dec 2013 01:53:19 +0000 (03:53 +0200)]
jumptables, stack iterators, more prototypes, disasm fixes

10 years agowin32.hlist, more types, fixes
notaz [Tue, 17 Dec 2013 01:12:24 +0000 (03:12 +0200)]
win32.hlist, more types, fixes

10 years agouse main header, parse variable types, asm patch comment
notaz [Mon, 16 Dec 2013 23:30:36 +0000 (01:30 +0200)]
use main header, parse variable types, asm patch comment

10 years agomore wip, handle C calls
notaz [Mon, 16 Dec 2013 00:39:05 +0000 (02:39 +0200)]
more wip, handle C calls

10 years agoasm fix, new c remove list
notaz [Mon, 9 Dec 2013 00:18:32 +0000 (02:18 +0200)]
asm fix, new c remove list

10 years agohandle indirect __cdecl calls, esp stackframes; fixes
notaz [Sun, 8 Dec 2013 22:35:01 +0000 (00:35 +0200)]
handle indirect __cdecl calls, esp stackframes; fixes

10 years agomovs, rol, reg save, esp frame..
notaz [Sun, 8 Dec 2013 00:44:26 +0000 (02:44 +0200)]
movs, rol, reg save, esp frame..

10 years agofunc blacklisting, fixes
notaz [Sat, 7 Dec 2013 01:26:26 +0000 (03:26 +0200)]
func blacklisting, fixes

10 years agorep stosd and stuff
notaz [Fri, 6 Dec 2013 01:37:55 +0000 (03:37 +0200)]
rep stosd and stuff

10 years agoimprove call arg and flag tracking, fixes
notaz [Thu, 5 Dec 2013 01:20:31 +0000 (03:20 +0200)]
improve call arg and flag tracking, fixes

10 years agofurther work to handle more things..
notaz [Wed, 4 Dec 2013 01:08:21 +0000 (03:08 +0200)]
further work to handle more things..

10 years agomore ops, fixes, refactoring
notaz [Tue, 3 Dec 2013 01:33:06 +0000 (03:33 +0200)]
more ops, fixes, refactoring

10 years agoimproved flag checks with tmp vars when needed, refactoring
notaz [Mon, 2 Dec 2013 02:11:37 +0000 (04:11 +0200)]
improved flag checks with tmp vars when needed, refactoring

10 years agofix edx arg-reg corruption in fromasm
notaz [Sun, 1 Dec 2013 16:18:12 +0000 (18:18 +0200)]
fix edx arg-reg corruption in fromasm

10 years agolots more stuff, reaches sub_401310
notaz [Sun, 1 Dec 2013 02:11:01 +0000 (04:11 +0200)]
lots more stuff, reaches sub_401310

10 years agosub_401000 compiles
notaz [Sat, 30 Nov 2013 18:20:59 +0000 (20:20 +0200)]
sub_401000 compiles

10 years agostart work on asm->c translation
notaz [Fri, 29 Nov 2013 21:18:58 +0000 (23:18 +0200)]
start work on asm->c translation

10 years agoadding disasm code, lots of breakage
notaz [Thu, 28 Nov 2013 01:16:41 +0000 (03:16 +0200)]
adding disasm code, lots of breakage

11 years agobegin pulling in disassembly, fix stuff
notaz [Wed, 27 Nov 2013 01:12:28 +0000 (03:12 +0200)]
begin pulling in disassembly, fix stuff

11 years agouse bridge for asm->C too
notaz [Tue, 26 Nov 2013 02:23:57 +0000 (04:23 +0200)]
use bridge for asm->C too

11 years agostart bridge gen tool
notaz [Sun, 24 Nov 2013 01:15:06 +0000 (03:15 +0200)]
start bridge gen tool

but some registers should probably be saved..

11 years agocmpmrg_text: detect some refs to rm'd funcs
notaz [Thu, 21 Nov 2013 00:48:38 +0000 (02:48 +0200)]
cmpmrg_text: detect some refs to rm'd funcs

11 years agoasmproc: detect more refs
notaz [Thu, 21 Nov 2013 00:35:11 +0000 (02:35 +0200)]
asmproc: detect more refs

11 years agofixes, start removing mscrt
notaz [Wed, 20 Nov 2013 01:27:34 +0000 (03:27 +0200)]
fixes, start removing mscrt

11 years agohandle C deps, add ability to rm stdc funcs
notaz [Tue, 19 Nov 2013 23:51:07 +0000 (01:51 +0200)]
handle C deps, add ability to rm stdc funcs

11 years agoreloc patching, avoid int3 overfill
notaz [Tue, 19 Nov 2013 23:24:58 +0000 (01:24 +0200)]
reloc patching, avoid int3 overfill

11 years agoimplement rewritten func fill
notaz [Tue, 19 Nov 2013 01:06:09 +0000 (03:06 +0200)]
implement rewritten func fill

11 years agoC code link-in, some reorganization
notaz [Mon, 18 Nov 2013 23:50:53 +0000 (01:50 +0200)]
C code link-in, some reorganization

11 years agoadd .asm function renamer
notaz [Mon, 18 Nov 2013 22:19:20 +0000 (00:19 +0200)]
add .asm function renamer

11 years agosymtab loader
notaz [Mon, 18 Nov 2013 01:13:52 +0000 (03:13 +0200)]
symtab loader

11 years agorename scripts
notaz [Sun, 17 Nov 2013 20:32:37 +0000 (22:32 +0200)]
rename scripts

11 years agomore complete disassembly
notaz [Sun, 17 Nov 2013 00:07:32 +0000 (02:07 +0200)]
more complete disassembly

11 years ago.text cmp tool, updates for it to pass
notaz [Fri, 15 Nov 2013 01:44:41 +0000 (03:44 +0200)]
.text cmp tool, updates for it to pass

11 years agolinker script, data syms
notaz [Mon, 11 Nov 2013 00:08:50 +0000 (02:08 +0200)]
linker script, data syms

11 years agofix .text position, storm and stuff
notaz [Sun, 10 Nov 2013 18:28:06 +0000 (20:28 +0200)]
fix .text position, storm and stuff

11 years agofirst compiling version
notaz [Sun, 10 Nov 2013 00:46:42 +0000 (02:46 +0200)]
first compiling version