tools/fuzz-testing.git
6 years agoClean previously built artifacts before starting a new build
Dmitriy Nikiforov [Wed, 2 Aug 2017 15:02:34 +0000 (18:02 +0300)]
Clean previously built artifacts before starting a new build

6 years agoAdd '--noinit' option to build command to skip dependencies installation
Dmitriy Nikiforov [Wed, 2 Aug 2017 14:55:26 +0000 (17:55 +0300)]
Add '--noinit' option to build command to skip dependencies installation

6 years agoAdd functions for verbose 'git' and 'gbs' commands
Dmitriy Nikiforov [Wed, 2 Aug 2017 14:28:47 +0000 (17:28 +0300)]
Add functions for verbose 'git' and 'gbs' commands

6 years agoReplaced -lpthread flag with -pthread in targets build scripts
Dmitriy Nikiforov [Mon, 31 Jul 2017 18:12:23 +0000 (21:12 +0300)]
Replaced -lpthread flag with -pthread in targets build scripts

6 years agoAdd missing COMMON_LDFLAGS to LDFLAGS in wgt-manifest-handlers/build.sh
Dmitriy Nikiforov [Mon, 31 Jul 2017 18:07:11 +0000 (21:07 +0300)]
Add missing COMMON_LDFLAGS to LDFLAGS in wgt-manifest-handlers/build.sh

6 years agoUpdate targets build scripts to be used by infra/build_targets.sh
Dmitriy Nikiforov [Mon, 31 Jul 2017 18:00:57 +0000 (21:00 +0300)]
Update targets build scripts to be used by infra/build_targets.sh

Updated targets:
 * tizen-platform-config
 * tpk-manifest-handlers
 * xdgmime

6 years agoAdd '--include-all' option to default gbs build arguments
Dmitriy Nikiforov [Mon, 31 Jul 2017 18:26:30 +0000 (21:26 +0300)]
Add '--include-all' option to default gbs build arguments

6 years agoFix exits for builds skipping in 'build' command script
Dmitriy Nikiforov [Mon, 31 Jul 2017 18:24:22 +0000 (21:24 +0300)]
Fix exits for builds skipping in 'build' command script

6 years agoTarget functions for xdgmime (platform/core/appfw/xdgmime)
sweet.kim [Mon, 31 Jul 2017 04:25:44 +0000 (13:25 +0900)]
Target functions for xdgmime (platform/core/appfw/xdgmime)

Fuzzed functions:
* xdg_mime_get_mime_type_for_data (data, len, result_prio)
* xdg_mime_get_mime_type_from_file_name (file_name)

6 years agoFix build-all command to properly fail on error with --logpath option
Dmitriy Nikiforov [Fri, 28 Jul 2017 16:49:46 +0000 (19:49 +0300)]
Fix build-all command to properly fail on error with --logpath option

6 years agoReplace 'git remote get-url' command for compatibility with older versions
Dmitriy Nikiforov [Fri, 28 Jul 2017 13:37:39 +0000 (16:37 +0300)]
Replace 'git remote get-url' command for compatibility with older versions

6 years agoAdd '--only-target' option to build command
Dmitriy Nikiforov [Thu, 27 Jul 2017 17:00:05 +0000 (20:00 +0300)]
Add '--only-target' option to build command

6 years agoSeparate build artifacts for different architectures
Dmitriy Nikiforov [Thu, 27 Jul 2017 16:32:59 +0000 (19:32 +0300)]
Separate build artifacts for different architectures

Also, this information is now reflected in 'list --long' command.

6 years agoAdd 'list' command script for listing all built targets
Dmitriy Nikiforov [Thu, 27 Jul 2017 16:11:20 +0000 (19:11 +0300)]
Add 'list' command script for listing all built targets

6 years agoAdd --spec option to build command for specification of custom targetspec
Dmitriy Nikiforov [Thu, 27 Jul 2017 14:55:40 +0000 (17:55 +0300)]
Add --spec option to build command for specification of custom targetspec

6 years agoMove ARCH variable to 'build' command script
Dmitriy Nikiforov [Thu, 27 Jul 2017 14:54:10 +0000 (17:54 +0300)]
Move ARCH variable to 'build' command script

6 years agoAdd ability to set custom TIZEN_FUZZ_HOME via env variable and option -f
Dmitriy Nikiforov [Thu, 27 Jul 2017 14:44:07 +0000 (17:44 +0300)]
Add ability to set custom TIZEN_FUZZ_HOME via env variable and option -f

Environment variable $TIZEN_FUZZ_HOME is of lower priority then --fuzz-home
option.

6 years agoRemove redundant export of VERBOSE variable
Dmitriy Nikiforov [Thu, 27 Jul 2017 14:42:07 +0000 (17:42 +0300)]
Remove redundant export of VERBOSE variable

6 years agoMute mount/umount and git operations
Dmitriy Nikiforov [Wed, 26 Jul 2017 17:07:26 +0000 (20:07 +0300)]
Mute mount/umount and git operations

6 years agoAdd GBS configurations for emulator64 and emulator32 platforms
Dmitriy Nikiforov [Wed, 26 Jul 2017 16:54:56 +0000 (19:54 +0300)]
Add GBS configurations for emulator64 and emulator32 platforms

Changes:
 * Added gbs configs in 'infra/config' directory. One of these configs will
   be used depending on the chosen architecture. Only emulator platforms
   are supported now.
 * Added '--clean', '--skip-srcrpm' and '--clean-repos' to default gbs
   build options.
 * Removed '--overwrite' and '--clean' options from 'build' and 'build-all'
   subcommands as '--clean' is used by default now.
 * Global '--verbose' option now adds '--debug' option to gbs build.

6 years agoAdd target specifications and rewrite build scripts
Dmitriy Nikiforov [Tue, 25 Jul 2017 20:00:16 +0000 (23:00 +0300)]
Add target specifications and rewrite build scripts

Build scripts are rewritten to be used by 'infra' scripts in automated
builds.

6 years agoAdd script for 'build-all' command
Dmitriy Nikiforov [Tue, 25 Jul 2017 19:59:47 +0000 (22:59 +0300)]
Add script for 'build-all' command

6 years agoAdd script for 'build' command
Dmitriy Nikiforov [Tue, 25 Jul 2017 19:59:07 +0000 (22:59 +0300)]
Add script for 'build' command

6 years agoAdd script for automated fuzzing targets builds
Dmitriy Nikiforov [Tue, 25 Jul 2017 19:56:53 +0000 (22:56 +0300)]
Add script for automated fuzzing targets builds

6 years agoFuzzing target for xdgmime
sweet.kim [Mon, 17 Jul 2017 07:14:38 +0000 (16:14 +0900)]
Fuzzing target for xdgmime

Fuzzed functions:
* xdg_mime_get_mime_type_for_data (data, len, result_prio)
* xdg_mime_get_mime_type_from_file_name (file_name)

6 years agoFuzzing target for tizen-platform-config
Maria Guseva [Tue, 25 Jul 2017 14:43:05 +0000 (17:43 +0300)]
Fuzzing target for tizen-platform-config

6 years agoAdded constants from manifest_utils.cc to wgt-manifest.dict
Dmitriy Nikiforov [Tue, 18 Jul 2017 08:57:08 +0000 (17:57 +0900)]
Added constants from manifest_utils.cc to wgt-manifest.dict

6 years agoFuzzing target for tpk-manifest-handlers
Jaehong Lee [Mon, 17 Jul 2017 07:45:21 +0000 (16:45 +0900)]
Fuzzing target for tpk-manifest-handlers

6 years agoAdd dictionary for Tizen manifests for wgt-applications
Dmitriy Nikiforov [Fri, 7 Jul 2017 15:28:30 +0000 (18:28 +0300)]
Add dictionary for Tizen manifests for wgt-applications

This dictionary is a result of merged string literals from wgt-manifest-handlers
sources and a dictionary for XML format from the Chromium project:

https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/fuzzers/dicts/xml.dict

6 years agoAdd target function for 'wgt-manifest-handlers' project
Dmitriy Nikiforov [Fri, 7 Jul 2017 09:28:53 +0000 (12:28 +0300)]
Add target function for 'wgt-manifest-handlers' project

Fuzzed functions:
 * wgt::parse::WidgetConfigParser::ParseManifest(path)
 * wgt::parse::WidgetConfigParser::GetManifestData(key)
 * wgt::parse::WidgetConfigParser::CheckValidStartFile()
 * wgt::parse::WidgetConfigParser::CheckValidServicesStartFiles()

6 years agoAdd README.md for 'bundle' project
Dmitriy Nikiforov [Thu, 6 Jul 2017 14:35:01 +0000 (17:35 +0300)]
Add README.md for 'bundle' project

6 years agoAdd fuzzing target function for 'bundle' project
Dmitriy Nikiforov [Mon, 3 Jul 2017 14:11:06 +0000 (17:11 +0300)]
Add fuzzing target function for 'bundle' project

Currently it only tests 'bundle_decode' function.

Added files:
  * targets/bundle/build.sh - build script for target function
  * targets/bundle/bundle-fuzz.cpp - target function implementation

6 years agoSeparate RIFF format LIST tag from its type tags in riff.dict
Dmitriy Nikiforov [Thu, 8 Jun 2017 16:20:05 +0000 (19:20 +0300)]
Separate RIFF format LIST tag from its type tags in riff.dict

LIST tag should be separated from its type tag by 4-byte field with size of
the chunk instead of the underscore character.[1]

Reference links:
  1. Section 5.6.2 in http://www.cipa.jp/std/documents/e/DC-008-2012_E.pdf

6 years agoAdd ITRK LIST INFO tag to RIFF dictionary
Dmitriy Nikiforov [Wed, 7 Jun 2017 19:10:46 +0000 (22:10 +0300)]
Add ITRK LIST INFO tag to RIFF dictionary

Obscure tag that is not listed in any specification but it is used by many media
players according to this: http://wiki.audacityteam.org/wiki/WAV#Metadata

6 years agoAdd script for dictionaries generation from Chromium project
Dmitriy Nikiforov [Tue, 6 Jun 2017 16:35:53 +0000 (19:35 +0300)]
Add script for dictionaries generation from Chromium project

Source:   https://chromium.googlesource.com/chromium/src/testing/libfuzzer/
Revision: d692c67ad73629ac35e1623048218f36fb4bb680

6 years agoAdd dictionaries from Chromium project
Dmitriy Nikiforov [Mon, 5 Jun 2017 16:01:08 +0000 (19:01 +0300)]
Add dictionaries from Chromium project

Reference link:
  https://chromium.googlesource.com/chromium/src/testing/libfuzzer/+/master/fuzzers/dicts

6 years agoAdd dictionary for RIFF format
Dmitriy Nikiforov [Mon, 5 Jun 2017 15:05:25 +0000 (18:05 +0300)]
Add dictionary for RIFF format

Reference links:
  1. https://en.wikipedia.org/wiki/Resource_Interchange_File_Format
  2. https://en.wikipedia.org/wiki/WAV
  3. https://en.wikipedia.org/wiki/Broadcast_Wave_Format

6 years agoInitial commit
Dmitrii Nikiforov/SRR-SW Tools Lab/./삼성전자 [Mon, 5 Jun 2017 14:57:08 +0000 (17:57 +0300)]
Initial commit

6 years agoInitial empty repository
Tizen Infrastructure [Mon, 14 Aug 2017 00:45:57 +0000 (00:45 +0000)]
Initial empty repository