246 Commits (0ea57bf7bfbb841025673398501bb5201c6f9c07)

Author SHA1 Message Date
Peter Johnson f243b4d652 Be nice for debugging purposes and set effaddr sib=0 even when it's not valid. 23 years ago
Peter Johnson e23d88b957 Make resolve_label() take a symrec * instead of a section * and bytecode *. 23 years ago
Peter Johnson e2f2ede90c bc_calc_len() family should return unsigned long, not int. 23 years ago
Peter Johnson 3f2186c1bf Change from current file/line dual storage to a monotonically-increasing line 23 years ago
Peter Johnson ca6a1c8167 Massive build system change: single Makefile instead of recursive. 23 years ago
Peter Johnson 0caf84d85f Massive build system change: single Makefile instead of recursive. 23 years ago
Peter Johnson 2727869bd8 Start work on optimizer module. Moved all "post-parser-finalization" code 23 years ago
Peter Johnson b3cb8c0292 Move assert.h include to util.h 23 years ago
Peter Johnson cf84bbf503 Change REG_SOMEREG -> reg_somereg and add rules that allow BYTE/WORD/DWORD 23 years ago
Peter Johnson 2aec833b07 Don't free EA when simplifying shift_op case. Not only is this code completely 23 years ago
Peter Johnson 825eaa5823 Massive cleanup of debugging output (via _print() functions). All now take 23 years ago
Peter Johnson 9f63877c07 In bytecode_print(), fix checks for short/near opcode printouts. 23 years ago
Peter Johnson ac65ee8770 Better LCLint settings for x86_bc_insn_get_ea(). 23 years ago
Peter Johnson 8178f883a5 Modify so that almost everything passes LCLint with the options in lclint.sh. 23 years ago
Peter Johnson d7fe402fb9 Split away x86-specific parts of expression handling (eg, effective address -> 23 years ago
Peter Johnson a2bc46cb54 Fix file comment. 23 years ago
Peter Johnson f58d7cb093 Split x86-specific stuff away from bytecode. 23 years ago
Peter Johnson c9d92847b6 Start framework for separating architecture-dependent functions and data 23 years ago
Peter Johnson a7ac50c918 Add coretype.h, make util.h do a lot more, use util.h to simplify include 23 years ago
Peter Johnson 79e945c33c Optimize expression building a bit in expr_new() by eliminating IDENT's here. 23 years ago
Peter Johnson 00788fa80c Fix errors found in expr_level_op() and checkea_calc_displen() by new test 23 years ago
Peter Johnson 10fa8fadc1 Correctly process 32-bit memory expressions in expr_checkea(). 23 years ago
Peter Johnson 4d95de5161 Plug memory leaks, and enhance finding later ones with *_delete functions. 23 years ago
Peter Johnson dc1c3c70f5 Get rid of all the extra filename strdup()'s. (Bug #14). 23 years ago
Peter Johnson 7a6eaf8c03 Make InternalError() a bit easier to call. Also, reverse its file and line 23 years ago
Peter Johnson 6f708e3034 Add xfree() to replace calls to free(). 23 years ago
Peter Johnson adf5a95e89 Add option for malloc debugging using dmalloc library (http://dmalloc.com/). 23 years ago
Peter Johnson e7bab50cf2 Parse NOSPLIT. 23 years ago
Peter Johnson 121f93b0a0 *COMPLETELY* rewrite most of expression handling. 23 years ago
Peter Johnson 6a7504341f Add _copy() constructor. 23 years ago
Peter Johnson 68c9dcc62c Add several major functions, including effective address ModRM calculation 23 years ago
Peter Johnson df1245459f Add parsing of memory expressions. Currently adds a lot of duplication for 23 years ago
Peter Johnson 8149291eca Add expr_contains_float() and symrec_get_equ() functions. These are the first 23 years ago
Peter Johnson 193392dcb6 Fix LOTS of little nits. Primary changes: 23 years ago
Peter Johnson 677d561c21 Fix SHR operation, and do some reindentation. 23 years ago
Peter Johnson 48a36cdf22 Make most data structures opaque, keeping internals truly internal and making the 23 years ago
Peter Johnson b13f4e4f87 malloc->xmalloc, strdup->xstrdup, and calloc->xcalloc. The x* family performs 23 years ago
Peter Johnson 1abd74ba04 Fix large parts of expression and symbol handling. Actually link in labels 23 years ago
Peter Johnson b2890b8f9d $Id$ -> $IdPath$. 23 years ago
Peter Johnson 86f7268ea8 Add RCSID(). 24 years ago
Peter Johnson 77fc6dd491 Standardize order of include statements as well as autoconf'ing those source 24 years ago
Peter Johnson edf74fe9ea Run through GNU indent using indent profile. Manually fix some changes 24 years ago
Peter Johnson bb595a8f02 Formatting changes and starting to comment more heavily. 24 years ago
Michael Urman 0cb10aa577 Fixed the non-ansi attempts to pass a union member casted as the union 24 years ago
Michael Urman 84bae30656 Long hairy integration of expression handling into the grammar. 24 years ago
Michael Urman fb3e968a29 Initial checkin of expression handling. 24 years ago