summaryrefslogtreecommitdiff
path: root/sync.c
AgeCommit message (Collapse)AuthorFilesLines
2009-12-22sync.c: Get sync points limit backCyrill Gorcunov1-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>
2009-12-22sync.c: Style nitfixCyrill Gorcunov1-5/+6
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2009-07-20sync.c - introduce swap_sync helperCyrill Gorcunov1-16/+12
Just to remove code duplication Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2009-06-28Add copyright headers to the *.c/*.h files in the main directoryH. Peter Anvin1-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>
2007-12-29regularized spelling of license to match name of LICENSE fileBeroset1-1/+1
2007-11-20ndisasm: handle the case of "no more sync points"H. Peter Anvin1-1/+1
Handle the case of "no more sync points" explicitly, instead of saying the next sync point is at UINT32_MAX.
2007-10-02Portability fixesH. Peter Anvin1-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.)
2007-09-19Remove limit on number of sync pointsH. Peter Anvin1-23/+9
Make it possible for ndisasm to allocate more memory for sync points as needed.
2007-08-20sync.c: change ULONG_MAX to UINT32_MAXH. Peter Anvin1-1/+1
The value returned is uint32_t, not unsigned long. This creates a warning when compiling on 64-bit machines.
2007-04-12General push for x86-64 support, dubbed 0.99.00.Keith Kanios1-4/+5
2005-01-15Apply Nindent to all .c and .h filesH. Peter Anvin1-42/+42
2002-04-30NASM 0.98p3H. Peter Anvin1-3/+6
2002-04-30NASM 0.95H. Peter Anvin1-1/+21
2002-04-30NASM 0.94H. Peter Anvin1-1/+6
2002-04-30NASM 0.91H. Peter Anvin1-0/+84