94 Commits (e60fe7b21cf1f86fa3d50597628e7adf61ad6245)

Author SHA1 Message Date
Peter Johnson 405df52913 bytecode_print(): Change how NULL values are output for imm and multiple. 24 years ago
Peter Johnson 4d95de5161 Plug memory leaks, and enhance finding later ones with *_delete functions. 24 years ago
Peter Johnson dc1c3c70f5 Get rid of all the extra filename strdup()'s. (Bug #14). 24 years ago
Peter Johnson 7a6eaf8c03 Make InternalError() a bit easier to call. Also, reverse its file and line 24 years ago
Peter Johnson 6f708e3034 Add xfree() to replace calls to free(). 24 years ago
Peter Johnson adf5a95e89 Add option for malloc debugging using dmalloc library (http://dmalloc.com/). 24 years ago
Peter Johnson e7bab50cf2 Parse NOSPLIT. 24 years ago
Peter Johnson 121f93b0a0 *COMPLETELY* rewrite most of expression handling. 24 years ago
Peter Johnson e640f25da5 Update comment on disp.len to match changes in expr.c. 24 years ago
Peter Johnson 6ac7d95579 Call expr_expand_equ() on effective address from bytecode_parser_finalize(). 24 years ago
Peter Johnson 0be7a0d444 Add first version of post-parsing bytecode finalization. Lots of work still 24 years ago
Peter Johnson 053329a368 Clarify and fix some usages of valid/need flags for modrm and sib bytes. 24 years ago
Peter Johnson 84de990744 Support TIMES prefix. Split expr parsing to have a no-float and no-string 24 years ago
Peter Johnson 193392dcb6 Fix LOTS of little nits. Primary changes: 24 years ago
Peter Johnson 217b33802c Make data.insn.imm within bytecode a pointer. This prevents leakage in calls to 24 years ago
Peter Johnson 48a36cdf22 Make most data structures opaque, keeping internals truly internal and making the 24 years ago
Peter Johnson b13f4e4f87 malloc->xmalloc, strdup->xstrdup, and calloc->xcalloc. The x* family performs 24 years ago
Peter Johnson 98e25fc1f6 Add some (optional through configure) additional warning flags. Add options 24 years ago
Peter Johnson 1abd74ba04 Fix large parts of expression and symbol handling. Actually link in labels 24 years ago
Peter Johnson 60fd596a66 Cleaned up bytecode data structure, some effaddr functions. Made ea an 24 years ago
Peter Johnson 1fd753346c Build section linked list, and support the section directive, including 24 years ago
Peter Johnson b2890b8f9d $Id$ -> $IdPath$. 24 years ago
Peter Johnson 695ab62056 Whoa, oops! Bad bug in bytecode_new_common (wasn't returning allocated bc). 24 years ago
Peter Johnson 3c2a67ca1c Use bytecode * instead of bytecode in parser. 24 years ago
Peter Johnson 45df22d110 Convert to using gettext instead of the ugly errwarn constant strings. 24 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 ae600ce442 Use STAILQ's for datavals and bytecodes. 24 years ago
Peter Johnson edf74fe9ea Run through GNU indent using indent profile. Manually fix some changes 24 years ago
Peter Johnson 50cd4f238f Add global filename variable and handling for a filename passed on the 24 years ago
Peter Johnson 1fa31332b6 Add lexing, parsing, and internal format for strings and character constants. 24 years ago
Peter Johnson bb595a8f02 Formatting changes and starting to comment more heavily. 24 years ago
Peter Johnson fa5c9d5ea9 First attempt at supporting relative jump instructions. A few hacks, but 24 years ago
Michael Urman c4d985f1ad Integrate expression handling into memory address expressions. 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
Peter Johnson 4807c5b69b Reorganize (yet again) effective address, immediate value, and instruction 24 years ago
Peter Johnson e75125dae3 Moved from 2-byte to 3-byte opcodes. 24 years ago
Peter Johnson 8d656576e2 Added SetEASegment and SetEAAddressSize (not yet implemented). 24 years ago
Peter Johnson 8b5a407ef2 Need to zero need_modrm in BuildBC_Insn() if no EA. 24 years ago
Peter Johnson e9bd95fd96 Added conversion from immediate value to effective address. Used for enter 24 years ago
Michael Urman 3e9f321b66 Reformatted BuildBC_Insn's argument list to aligned one arg per line. 24 years ago
Peter Johnson 2ddc3208dc Merge immediate and relative structures. 24 years ago
Peter Johnson d3a51f5835 Initial check-in. 24 years ago