summaryrefslogtreecommitdiff
path: root/sync.c
Commit message (Collapse)AuthorAgeFilesLines
* sync.c: Get sync points limit backCyrill Gorcunov2009-12-221-7/+13
| | | | | | | | | | We should explicitly check if we can hold the sync point, otherwise we may wrap the array index and reach incorrect value (if we're lucky). So instead we make the index "almost" unlmited. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* sync.c: Style nitfixCyrill Gorcunov2009-12-221-5/+6
| | | | Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* sync.c - introduce swap_sync helperCyrill Gorcunov2009-07-201-16/+12
| | | | | | Just to remove code duplication Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
* Add copyright headers to the *.c/*.h files in the main directoryH. Peter Anvin2009-06-281-5/+34
| | | | | | | | | | Add copyright headers to the *.c/*.h files in the main directory. For files where I'm sure enough that we have all the approvals, I have given them the 2-BSD license, the others have been given the "LGPL for now" license header. Most of them can probably be changed after auditing. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* regularized spelling of license to match name of LICENSE fileBeroset2007-12-291-1/+1
|
* ndisasm: handle the case of "no more sync points"H. Peter Anvin2007-11-201-1/+1
| | | | | Handle the case of "no more sync points" explicitly, instead of saying the next sync point is at UINT32_MAX.
* Portability fixesH. Peter Anvin2007-10-021-0/+2
| | | | | | | | | Concentrate compiler dependencies to compiler.h; make sure compiler.h is included first in every .c file (since some prototypes may depend on the presence of feature request macros.) Actually use the conditional inclusion of various functions (totally broken in previous releases.)
* Remove limit on number of sync pointsH. Peter Anvin2007-09-191-23/+9
| | | | | Make it possible for ndisasm to allocate more memory for sync points as needed.
* sync.c: change ULONG_MAX to UINT32_MAXH. Peter Anvin2007-08-201-1/+1
| | | | | The value returned is uint32_t, not unsigned long. This creates a warning when compiling on 64-bit machines.
* General push for x86-64 support, dubbed 0.99.00.Keith Kanios2007-04-121-4/+5
|
* Apply Nindent to all .c and .h filesnasm-0.98.39LATESTH. Peter Anvin2005-01-151-42/+42
|
* NASM 0.98p3nasm-0.98p3H. Peter Anvin2002-04-301-3/+6
|
* NASM 0.95nasm-0.95H. Peter Anvin2002-04-301-1/+21
|
* NASM 0.94nasm-0.94H. Peter Anvin2002-04-301-1/+6
|
* NASM 0.91nasm-0.91H. Peter Anvin2002-04-301-0/+84