aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dwarf.c
AgeCommit message (Collapse)AuthorFilesLines
2015-06-07dwarf.c: fix V629 warning reported by PVS-StudioPascal Quantin1-1/+1
Consider inspecting the '1 << shift' expression. Bit shifting of the 32-bit value with a subsequent expansion to the 64-bit type. Change-Id: I9939f3c471fcbbb033bbd5f846b9e09e8b8fd125 Reviewed-on: https://code.wireshark.org/review/8808 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2015-02-08dwarf: fix bug found by MSVC2013 Code AnalysisBill Meier1-2/+2
The following doesn't quite do what it might seem to be doing: *value |= (byte & 0x7F) << shift; //guint64 *value // guint8 byte The warning from MSVC2013: Arithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value Change-Id: I06e196559ec0e84da77d8866355ae7f86ba43f73 Reviewed-on: https://code.wireshark.org/review/7020 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-12-14Fix warningsJakub Zawadzki1-0/+2
svn path=/trunk/; revision=54089
2013-11-10No need to include whole <epan/packet.h>Jakub Zawadzki1-1/+2
svn path=/trunk/; revision=53235
2013-10-24From Michal Labedzki viaEvan Huus1-0/+37
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8818 Add correct license headers, $Id$ fields and modelines to the common dwarf files. svn path=/trunk/; revision=52813
2013-10-23From Michal Labedzki viaEvan Huus1-0/+45
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8818 Add support for dissection ELF files. It opens as a "capture" file via wiretap at the moment for simplicity's sake, but the intention is eventually to have this (and other file types we dissect) open through some other program sharing much of the libwireshark infrastructure. svn path=/trunk/; revision=52775