Age | Commit message (Collapse) | Author | Files | Lines |
|
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7651
Also, use consistent indentation.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44581 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7652
Use a fast bash built-in rather than a slow call out to `expr` to increment
the loop count.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44580 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
most recent revision / commit.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44552 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Have giop dissector use more ephemeral memory.
Update idl2wrs dissector generator accordingly.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44498 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
These happen when, eg, a program runs out of memory under valgrind
or other more fatal errors (that may sometimes be valgrind bugs instead).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44451 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
The idl2wrs generated dissectors don't follow the convention of using the
filter name registered with the protocol as the start of any display filter
name. This patch fixes that.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44325 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44324 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Add commandline options to show file line numbers of dissectors. The default is to have no line numbers shown as its easier to compare results without a minor file change causing the line number of the filter to change resulting in an unnecessary difference.
Add commandline option to check filter names of automated files (default disabled).
Check for underscores prefacing or following a period in filter names as this is probably a typo.
Cleaned up output when checking a single file.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44182 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44175 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44083 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44072 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
- add support for 2-pass dissection and config profiles
- make whitespace a consistent 4-spaces
fuzz-test.sh:
- update 2-pass support to use -2 and not the old -P
- add support for fuzz-testing under valgrind with the new -g option
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44024 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43944 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43939 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
- Take command-line arguments of files to check. In this case make output
GCC-like, as it's much more human-readable than the HTML.
- If there are no arguments, provide HTML output for the entire current
directory like before, for use with build-bot integration.
- Don't hack with the CWD to try and get include-paths to work. Cppcheck
will warn already if it can't find them, and since a lot of the checks
still work in any case, a warning is more appropriate than an error or
a hack.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43882 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
return it, and use the return value.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43818 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
calls an error.
Fix one case where we weren't counting an error (unregistered ett
variables).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43817 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Probably subject to change as it gets integrated into the build-bot.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43778 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
is unsigned only in ISO C90' warning
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43764 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43694 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
CID 280531: "Argument cannot be negative" in lemon
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7453
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43619 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
template_get_CDR_string (in wireshark_gen.py) did. This eliminates another
whole pile of function-local variables in packet-parlay.c.
Unfortunately it doesn't seem to speed up compilation (or eliminate the
variable tracking size limit problem). But it does eliminate a lot of
lines of code...
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43610 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
(several of the) get_CDR_*() functions: instead call the function directly
in the proto_tree_add_text() calls.
Eliminate a lot of global variables that are only later used in (a single)
strcmp().
All the GIOP dissectors are built-in now; don't include the (#if'd out) plugin
registration code in the generated dissector.
Try to clean up the formatting of the generated code a bit.
Regenerate the IDL dissectors; as noted in r39932, this seems to involve a
lot of function re-ordering in packet-parlay.c (making the delta bigger).
These changes decrease the time to compile packet-parlay.c by, on my system,
about half. But it still complains:
variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
and it still takes "too long."
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43609 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7429#c4 :
Add checks for calls to proto_tree_add_XXX (where XXX != item and a few other
functions) with an encoding (ENC_*) argument.
Also add a comment to checkAddTextCalls() about why 3 loops are used.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43563 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7411 :
Have runlex.sh exit with the exit status of lex (if it failed).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43555 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43538 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
(COPYING will be updated in next commit)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43536 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
DATA chunk: having them in both places is helpful when looking at the
messages but having them separate is helpful when graphing the RTTs.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43406 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
on the file name that is being added.
Add a copyright notice.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41414 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
and with BASE_... in the 'display' field.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41399 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
(Commented out until all the incorrect usages in Wireshark have been fixed).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41380 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Prohibit using FT_BOOLEANS with value_strings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41364 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41237 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
using a normal hex string would be nice
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41232 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41181 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
the "Wrote xxx" messages was printed, although the compiler appeared to
have been run on the .c file that was never claimed to have been
written, but got an error because it couldn't find the .h file (also
never claimed to have been written), and in one of the successes on the
same buildbot, they were both printed for the same file.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41133 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
proto_tree_add_text() calls and compare that to the number of
proto_tree_add_<something else>() calls and complain if more than 50%
of the calls are add_text()'s.
proto_tree_add_text() calls whose returned proto_item is used are not counted
as hanging a subtree off a text item is an appropriate use for text items.
I chose 50% because even at that level there are many dissectors with "too many"
proto_tree_add_text()'s.
The function to do all of this is commented out for now for the same reason
plus the fact that it's pretty slow.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40930 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
of _U_ from the compiler command line into config.h
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40806 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40763 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40736 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40734 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40597 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Add comment about Wireshark build defines G_DISABLE_DEPRECATED.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40584 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40572 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
- Mark GDK functions which aren't used as 'E'
- Add GTK functions deprecated after GTK 2.20
- Add some comments about use of GTK_DISABLE_DEPRECATED
- reformat
...
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40569 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
such usage.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40548 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
one of the buildbots.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40489 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40396 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40310 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Move the comment to where it's intended.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40158 f5534014-38df-0310-8fa8-9805f1628bb7
|