Commit Graph

30 Commits

Author SHA1 Message Date
Sebastian Pipping
df42f935bf Increase precision in existing MIT headers based on Git history 2021-05-02 19:53:29 +02:00
Sebastian Pipping
2cfa1dd63f Actions: Split off Cppcheck to stop installing 13 unrelated Homebrew formulas 2021-04-06 23:52:35 +02:00
Sebastian Pipping
2f051a681b cppcheck: Suprocess warnings of type "objectIndex"
Report from Cppcheck 2.4.1 was:

lib/xmlparse.c:729:26: warning: The address of local variable 'entropy' might be accessed at non-zero index. [objectIndex]
      ((uint8_t *)target)[bytesWrittenTotal] = random8;
                         ^
lib/xmlparse.c:820:39: note: Address of variable taken here.
  writeRandomBytes_arc4random((void *)&entropy, sizeof(entropy));
                                      ^
lib/xmlparse.c:820:31: note: Calling function 'writeRandomBytes_arc4random', 1st argument '(void*)&entropy' value is lifetime=entropy
  writeRandomBytes_arc4random((void *)&entropy, sizeof(entropy));
                              ^
lib/xmlparse.c:729:26: note: The address of local variable 'entropy' might be accessed at non-zero index.
      ((uint8_t *)target)[bytesWrittenTotal] = random8;
                         ^
lib/xmltok.c:318:54: error: The address of local variable 'fromLim' is accessed at non-zero index. [objectIndex]
    const unsigned char prev = (unsigned char)fromLim[-1];
                                                     ^
lib/xmltok.c:369:56: note: Address of variable taken here.
    _INTERNAL_trim_to_complete_utf8_characters(*fromP, &fromLim);
                                                       ^
lib/xmltok.c:369:56: note: Calling function '_INTERNAL_trim_to_complete_utf8_characters', 2nd argument '&fromLim' value is lifetime=fromLim
    _INTERNAL_trim_to_complete_utf8_characters(*fromP, &fromLim);
                                                       ^
lib/xmltok.c:318:54: note: The address of local variable 'fromLim' is accessed at non-zero index.
    const unsigned char prev = (unsigned char)fromLim[-1];
                                                     ^
2021-04-05 18:52:16 +02:00
Sebastian Pipping
44d889e78c .travis.yml: Upgrade to Ubuntu Bionic 18.04.x LTS and Clang 11 2021-02-24 03:34:43 +01:00
Sebastian Pipping
ef8d5bff85 Travis: Add CTEST_OUTPUT_ON_FAILURE=1 where missing 2020-10-25 21:14:18 +01:00
Sebastian Pipping
e4262a282e Travis: Improve call to cppcheck
This adds:
- argument --force
- blacklists .c files that are ment to be included, only
- printing the version of cppcheck
2020-05-27 20:33:49 +02:00
Sebastian Pipping
d83fc3afd5 Travis: Install a find(1) better than that of macOS 2020-05-27 20:33:16 +02:00
Sebastian Pipping
5c0fd5f7ef Travis: Extend ${PATH} for brew Python 3 on macOS 2020-02-01 19:14:18 +01:00
Sebastian Pipping
cd9030cdc2 Travis: Add ${PATH} debugging output 2020-02-01 19:14:17 +01:00
Sebastian Pipping
ccd1cbc14d Drop expat.spec RPM packaging (related to #330) 2019-10-09 19:56:19 +02:00
Sebastian Pipping
3686659c04 Travis CI: Cover coverage.sh 2019-10-08 22:21:56 +02:00
Sebastian Pipping
c7d639115b Travis CI: Adapt to qa.sh's move from GNU Autotools to CMake 2019-09-02 21:48:40 +02:00
Sebastian Pipping
f991a45dec Travis CI: Turn verbosity up for MODE=cmake-oos 2019-08-29 00:58:50 +02:00
Sebastian Pipping
090b1cbdef Travis CI: Integrate clang-format 9 2019-08-03 21:31:44 +02:00
Philippe Antoine
ad73aa0419 Travis CI: Pass ${CONFIGURE_ARGS} to ./qa.sh 2019-07-28 23:47:27 +02:00
Sebastian Pipping
3270bbab5c
Merge pull request #290 from manish3kumar/integrate-sa
Integrate cppcheck with travis-ci for libexpat
2019-07-24 01:18:43 +02:00
Manish, Kumar
0a917b38f1 Integrate cppcheck with travis-ci for libexpat
Signed-off-by: Manish, Kumar <manish3.kumar@intel.com>
2019-07-23 17:43:53 +05:30
Sebastian Pipping
abc10118d5 Travis CI: Use Clang 9 on Linux 2019-07-23 00:07:31 +02:00
Sebastian Pipping
c8a93553c7 Travis: Drop test of in-source CMake
Out-of-source CMake is still there and is more important.
2019-07-15 00:05:25 +02:00
Mohammed Khajapasha
974a0a8a7d Enable CI for XML_ATTR_INFO
Enable CI to cover XML_ATTR_INFO feature.

Signed-off-by: Mohammed Khajapasha <mohammed.khajapasha@intel.com>
2019-07-12 05:14:26 +00:00
Sebastian Pipping
25c46e0acf qa.sh: Re-write
- A bit more flexible and high level
- Drop support for ncc
- Fix coverage rendering, drop split mode
2019-07-10 00:02:14 +02:00
Sebastian Pipping
d95d78721d Travis CI: Keep macOS $PATH away from Linux 2019-01-27 21:58:15 +01:00
Rolf Eike Beer
c3b63ff202 TravisCI: simplify printing installed files 2017-12-13 20:05:34 +01:00
Rolf Eike Beer
d9c3ae1bb1 TravisCI: also test CMake build out of source 2017-12-13 20:05:34 +01:00
Sebastian Pipping
bae05371c0 Travis CI: Cover CMake, at least superficially 2017-12-13 15:04:44 +01:00
Sebastian Pipping
fc577ad9cb Travis CI: Build RPM package, too 2017-08-19 16:46:41 +02:00
Sebastian Pipping
da856e3b45 Travis CI: Add mode for "make distcheck" 2017-08-12 16:28:44 +02:00
Sebastian Pipping
ce34ddfe9f Travis: Inline .travis.sh for better integration 2017-03-13 18:45:31 +01:00
Sebastian Pipping
11187083d9 Travis: Move from sudo to apt addon 2017-03-13 18:44:06 +01:00
Sebastian Pipping
a0f8c0817b Configure Travis CI (issue #2) 2017-02-19 22:38:22 +01:00