tools/fuzz-testing.git
6 years agoAdd initial version of script rpm_n_reqs.py 89/144589/5
Dmitry Kovalenko [Thu, 17 Aug 2017 07:43:07 +0000 (10:43 +0300)]
Add initial version of script rpm_n_reqs.py

Script searches rpm and all its dependecies in GBS cache.
It's expected to use this script to install all dependecies of fuzzed package.

Change-Id: I45d08f67c4a2d011c2db59d07cc751991a143db8
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
6 years agoUpdate general help message 10/146610/3
Dmitriy Nikiforov [Tue, 29 Aug 2017 12:12:46 +0000 (15:12 +0300)]
Update general help message

Change-Id: Ifb509891f76f311fc76aa470d9f663368c9066b5

6 years agoFix list of target binaries in 'publish' command 94/146594/4
Dmitriy Nikiforov [Tue, 29 Aug 2017 09:20:25 +0000 (12:20 +0300)]
Fix list of target binaries in 'publish' command

Change-Id: I934cf671bfa3549992cd47961efd7e9d22f52003

6 years agoRedirect some of the output of 'report' command to stderr 64/146064/5
Dmitriy Nikiforov [Thu, 24 Aug 2017 18:18:20 +0000 (21:18 +0300)]
Redirect some of the output of 'report' command to stderr

Needed to filter out useful information in 'run-all' command.

Change-Id: I1ab63982c6d524cd1eaa17918c003054e2d04baa

6 years agoAdd 'run-all' command to execute multiple targets on multiple devices 63/146063/5
Dmitriy Nikiforov [Thu, 24 Aug 2017 18:17:37 +0000 (21:17 +0300)]
Add 'run-all' command to execute multiple targets on multiple devices

Change-Id: Id2db9249756dbd19e5cc44d66037e74dcc0f93de

6 years agoRemove quoting of SDB_CMD in infra/utils.sh to allow word-splitting 62/146062/4
Dmitriy Nikiforov [Thu, 24 Aug 2017 18:15:46 +0000 (21:15 +0300)]
Remove quoting of SDB_CMD in infra/utils.sh to allow word-splitting

Change-Id: I62cf551870bea331401387a8c593450c342d45f7

6 years agoFix list of '.options' files to pushed in 'publish' command 61/146061/4
Dmitriy Nikiforov [Thu, 24 Aug 2017 18:14:48 +0000 (21:14 +0300)]
Fix list of '.options' files to pushed in 'publish' command

Change-Id: I39cd01e0d7fdf2382a2625b7c66f3176dbee1e1e

6 years agoFix incorrect sdb commands to use specified serial numbers 60/146060/4
Dmitriy Nikiforov [Thu, 24 Aug 2017 18:13:40 +0000 (21:13 +0300)]
Fix incorrect sdb commands to use specified serial numbers

Change-Id: I67d004e21afc3962ff8f14f6268160d7816a94c0

6 years agoAdd '--test-input' option to test single input 94/145494/4
Dmitriy Nikiforov [Tue, 22 Aug 2017 12:07:47 +0000 (15:07 +0300)]
Add '--test-input' option to test single input

Can be used with '--dump-coverage' to produce coverage for this input.

Change-Id: Ic213da59022f4a8b85e8b8fdc4b0924bade20353

6 years agoMake the location of fuzzing targets fixed 54/144754/7
Dmitriy Nikiforov [Thu, 17 Aug 2017 15:23:31 +0000 (18:23 +0300)]
Make the location of fuzzing targets fixed

Now all targets will be pushed to the /fuzzing directory by default.

Also, fixed help message for 'run' command.

Change-Id: I53e062df496628fef5bf8dd6ad1a256ce01ece3f

6 years agoAdd 'prepare_device' function to enable root and remount root fs 21/144721/5
Dmitriy Nikiforov [Thu, 17 Aug 2017 13:45:00 +0000 (16:45 +0300)]
Add 'prepare_device' function to enable root and remount root fs

Function is used in 'publish', 'run' and 'report' commands.

Change-Id: Id7c777f021ee77fb47d11c2613c2e89f52397a98

6 years agoAdd 'report' command to collect and analyze fuzzing results 09/144709/4
Dmitriy Nikiforov [Thu, 17 Aug 2017 12:27:59 +0000 (15:27 +0300)]
Add 'report' command to collect and analyze fuzzing results

Change-Id: Ibf7e0013156e784c9b121bacb8e91bd6e6630ae3

6 years agoReduce niceness of the fuzzing process 42/145442/2
Dmitriy Nikiforov [Mon, 21 Aug 2017 16:25:58 +0000 (19:25 +0300)]
Reduce niceness of the fuzzing process

Change-Id: Id40ba50795ddd7408e7c3e7b747f3b3b729b1634

6 years agoFuzzing target for metadata-extractor package 45/144145/5
Vitaliy Cherepanov [Mon, 31 Jul 2017 11:58:36 +0000 (14:58 +0300)]
Fuzzing target for metadata-extractor package

Fuzzed functions:
* metadata_extractor_create
* metadata_extractor_set_path
* metadata_extractor_get_metadata
* metadata_extractor_get_frame_at_time

Change-Id: Iab367874ac6551d40df54fc529824694cf85dde6
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
6 years agoFix the LD_PRELOAD path to libasan in the 'run' command 55/144955/2
Dmitriy Nikiforov [Fri, 18 Aug 2017 12:17:35 +0000 (15:17 +0300)]
Fix the LD_PRELOAD path to libasan in the 'run' command

Now it uses libasan.so from the system /usr/lib[64] directory.

Change-Id: I9f13f0674bca61258bf0983fad68b0b0a344e756

6 years agoAdd '-detect_leaks=0' libFuzzer option to tpk/wgt-manifest-handlers 55/144755/3
Dmitriy Nikiforov [Thu, 17 Aug 2017 15:27:02 +0000 (18:27 +0300)]
Add '-detect_leaks=0' libFuzzer option to tpk/wgt-manifest-handlers

This is workaround for leak in libxml2 preventing the fuzzing of target
packages.

Change-Id: Idffe2f88f9d936c7b76065fffed9d64026097443

6 years agoRemove unneeded '--root' options from 'run' and 'publish' commands 33/144733/3
Dmitriy Nikiforov [Thu, 17 Aug 2017 14:32:26 +0000 (17:32 +0300)]
Remove unneeded '--root' options from 'run' and 'publish' commands

Change-Id: I79475191643f8d3e46bbcf1c94c1dec00cf7ac55

6 years agoFix shellcheck warnings in infra/commands/run.sh 34/144734/3
Dmitriy Nikiforov [Thu, 17 Aug 2017 14:38:23 +0000 (17:38 +0300)]
Fix shellcheck warnings in infra/commands/run.sh

Change-Id: I07db6baa4f32ad5fb1f332945de541ce64ce946c

6 years agoFix shellcheck warnings in infra/commands/publish.sh 32/144732/3
Dmitriy Nikiforov [Thu, 17 Aug 2017 14:30:00 +0000 (17:30 +0300)]
Fix shellcheck warnings in infra/commands/publish.sh

Change-Id: Ifcea704673c4554db0100387c6f2c008d27ed7a0

6 years agoFix shellcheck warnings in infra/commands/build.sh 31/144731/3
Dmitriy Nikiforov [Thu, 17 Aug 2017 14:15:53 +0000 (17:15 +0300)]
Fix shellcheck warnings in infra/commands/build.sh

Change-Id: I5dc299d8244091505a4f17569ce5e13d6509ad0f

6 years agoFix shellcheck warnings in infra/commands/build-all.sh 30/144730/3
Dmitriy Nikiforov [Thu, 17 Aug 2017 14:04:00 +0000 (17:04 +0300)]
Fix shellcheck warnings in infra/commands/build-all.sh

Change-Id: I044122a659da4947994e058c8fe8367ce791001b

6 years agoRemove cleaning of logs in 'coverage' mode in 'run' command 23/144723/2
Dmitriy Nikiforov [Thu, 17 Aug 2017 13:56:23 +0000 (16:56 +0300)]
Remove cleaning of logs in 'coverage' mode in 'run' command

Change-Id: I34e462ec30b860a2ec2b1de2998e402af2baed46

6 years agoUnify 'SDB_CMD' variable usage 22/144722/2
Dmitriy Nikiforov [Thu, 17 Aug 2017 13:51:17 +0000 (16:51 +0300)]
Unify 'SDB_CMD' variable usage

Change-Id: Icb4946a4dadf9554de8737f5b26ba2bed818abc3

6 years agoFix glob in 'build' command 01/144701/1
Dmitriy Nikiforov [Thu, 17 Aug 2017 12:03:21 +0000 (15:03 +0300)]
Fix glob in 'build' command

Change-Id: I0c2c581e882dcb66ada81b756caa97651faa04a9

6 years agoFix 'publish' to search for libasan only for current architecture 53/144153/5
Dmitriy Nikiforov [Mon, 14 Aug 2017 19:27:20 +0000 (22:27 +0300)]
Fix 'publish' to search for libasan only for current architecture

Change-Id: I83312c2a88798a54e2623e48ac5eddf9b614b0a7

6 years agoAdd automatic root filesystem remounting in 'publish' command 52/144152/5
Dmitriy Nikiforov [Fri, 11 Aug 2017 13:12:57 +0000 (16:12 +0300)]
Add automatic root filesystem remounting in 'publish' command

Change-Id: Ib551ff241793131328eda7f75c3a81dc9a676741

6 years agoAdd '--install-deps' option to install missing dependencies 51/144151/5
Dmitriy Nikiforov [Fri, 11 Aug 2017 12:55:57 +0000 (15:55 +0300)]
Add '--install-deps' option to install missing dependencies

Change-Id: I35417285861a79efaa5bb38a4af89833823e09c7

6 years agoFix shellcheck warnings in infra/utils.sh 50/144150/5
Dmitriy Nikiforov [Thu, 10 Aug 2017 20:55:40 +0000 (23:55 +0300)]
Fix shellcheck warnings in infra/utils.sh

Change-Id: I3abcf4ba972503df49f310bc3a3f6dd034bb557e

6 years agoMove all global utility function to infra/utils.sh 49/144149/4
Dmitriy Nikiforov [Thu, 10 Aug 2017 19:39:21 +0000 (22:39 +0300)]
Move all global utility function to infra/utils.sh

Change-Id: I60982c957452812792f591d394f963d9c4a0dfad

6 years agoAdd various utility functions to remove code duplication 48/144148/5
Dmitriy Nikiforov [Thu, 10 Aug 2017 19:31:50 +0000 (22:31 +0300)]
Add various utility functions to remove code duplication

Added functions:
 * get_device_arch
 * get_config_by_arch
 * get_profile_by_arch
 * install_deps
 * check_deps
 * check_and_install_deps

Change-Id: I2eeba01a28e48c3a773c9a89c56de2b53e00ecfd

6 years agoAdd .options files for wgt/tpk-manifest-handlers projects Protex-check-17082017
Dmitriy Nikiforov [Fri, 4 Aug 2017 16:37:24 +0000 (19:37 +0300)]
Add .options files for wgt/tpk-manifest-handlers projects

6 years agoAdd '--dump-coverage' option to dump sanitizers coverage
Dmitriy Nikiforov [Thu, 10 Aug 2017 16:35:10 +0000 (19:35 +0300)]
Add '--dump-coverage' option to dump sanitizers coverage

Generated .sancov files will be located at <target_dir>/coverage.

6 years agoAdd 'run' command to execute specified fuzzing target on device
Dmitriy Nikiforov [Fri, 4 Aug 2017 15:50:54 +0000 (18:50 +0300)]
Add 'run' command to execute specified fuzzing target on device

6 years agoAdd support for .options files to 'publish' command
Dmitriy Nikiforov [Fri, 4 Aug 2017 17:01:57 +0000 (20:01 +0300)]
Add support for .options files to 'publish' command

6 years agoAdd support for .options files to 'build' command
Dmitriy Nikiforov [Fri, 4 Aug 2017 16:15:31 +0000 (19:15 +0300)]
Add support for .options files to 'build' command

6 years agoFuzzing target for yaca
Dmitry Kovalenko [Fri, 14 Jul 2017 06:02:08 +0000 (09:02 +0300)]
Fuzzing target for yaca

Change-Id: I9d1589d934884d897b9911666d92e17638f9611d
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
6 years agoFuzzing targets for libcryptsvc
Dmitry Kovalenko [Thu, 6 Jul 2017 12:57:00 +0000 (15:57 +0300)]
Fuzzing targets for libcryptsvc

For the following funcitons:
Base64Encoding()           (libcrypt-fuzz1.cpp)
cs_derive_key_with_pass()  (libcrypt-fuzz2.cpp)

Change-Id: I8c47661d8a6a555825d7dfb15f1c19f0a6f0b424
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
6 years agoFix renamed 'sdb shell' wrappers in publish command
Dmitriy Nikiforov [Thu, 10 Aug 2017 17:26:25 +0000 (20:26 +0300)]
Fix renamed 'sdb shell' wrappers in publish command

6 years agoAdd "--define 'asan 1'" option to gbs build options
Dmitriy Nikiforov [Thu, 10 Aug 2017 13:54:47 +0000 (16:54 +0300)]
Add "--define 'asan 1'" option to gbs build options

6 years agoEnable more compiler warnings by default
Dmitriy Nikiforov [Fri, 4 Aug 2017 16:24:39 +0000 (19:24 +0300)]
Enable more compiler warnings by default

6 years agoFix error messages in sdb_shell_verbose
Dmitriy Nikiforov [Tue, 8 Aug 2017 13:51:20 +0000 (16:51 +0300)]
Fix error messages in sdb_shell_verbose

6 years agoAdd '--corpus' option to push seed corpus to device
Dmitriy Nikiforov [Thu, 3 Aug 2017 15:25:47 +0000 (18:25 +0300)]
Add '--corpus' option to push seed corpus to device

Other changes:
  * added 'artifacts' directory on device for fuzzing artifacts

6 years agoAdd support for dictionaries to 'publish' command
Dmitriy Nikiforov [Thu, 3 Aug 2017 12:00:54 +0000 (15:00 +0300)]
Add support for dictionaries to 'publish' command

6 years agoChange directories structure on device
Dmitriy Nikiforov [Thu, 3 Aug 2017 11:42:55 +0000 (14:42 +0300)]
Change directories structure on device

Now it will be like this:
$ infra/built_targets.sh publish <target> <dest>

Directories tree:
 <dest>/
  ` -- <target>/
        | -- fuzzer1/
        |    ` -- fuzzer1
        | -- fuzzer2/
        |    ` -- fuzzer2
        . . .

6 years agoSimplify rpms extraction on device
Dmitriy Nikiforov [Thu, 3 Aug 2017 10:35:26 +0000 (13:35 +0300)]
Simplify rpms extraction on device

6 years agoSimplify and make sdb wrappers accessible to all commands
Dmitriy Nikiforov [Tue, 1 Aug 2017 14:56:50 +0000 (17:56 +0300)]
Simplify and make sdb wrappers accessible to all commands

6 years agoSimplify search for specified target
Dmitriy Nikiforov [Tue, 1 Aug 2017 14:55:21 +0000 (17:55 +0300)]
Simplify search for specified target

6 years agoAdd sdb shell wrapper with 'printf'
Dmitriy Nikiforov [Tue, 1 Aug 2017 13:55:35 +0000 (16:55 +0300)]
Add sdb shell wrapper with 'printf'

6 years agoAdd '--with-asan' option to push the libasan package to device
Dmitriy Nikiforov [Tue, 1 Aug 2017 12:14:01 +0000 (15:14 +0300)]
Add '--with-asan' option to push the libasan package to device

6 years agoMake GBS_ROOT variable accessible to all commands
Dmitriy Nikiforov [Tue, 1 Aug 2017 12:12:09 +0000 (15:12 +0300)]
Make GBS_ROOT variable accessible to all commands

6 years agoAdd 'publish' command to push built targets to emulator via sdb
Dmitriy Nikiforov [Mon, 31 Jul 2017 12:26:26 +0000 (15:26 +0300)]
Add 'publish' command to push built targets to emulator via sdb

6 years agoFix build artifacts clean-ups
Dmitriy Nikiforov [Tue, 8 Aug 2017 14:36:12 +0000 (17:36 +0300)]
Fix build artifacts clean-ups

 * Replaced double-braces operators with 'test'
 * Changed condition to not fail if directories do not exist

6 years agoAdd script for Jenkins RV job's build stage
Dmitriy Nikiforov [Wed, 2 Aug 2017 20:08:35 +0000 (23:08 +0300)]
Add script for Jenkins RV job's build stage

6 years agoRename 'build_targets.sh' to 'tizen_fuzz.sh'
Dmitriy Nikiforov [Wed, 2 Aug 2017 20:03:25 +0000 (23:03 +0300)]
Rename 'build_targets.sh' to 'tizen_fuzz.sh'

6 years agoAdd 'dicts' variable to existing targetspecs
Dmitriy Nikiforov [Wed, 2 Aug 2017 18:54:27 +0000 (21:54 +0300)]
Add 'dicts' variable to existing targetspecs

6 years agoAdd '--dicts' option to include dictionaries specified in targetspec
Dmitriy Nikiforov [Wed, 2 Aug 2017 18:50:26 +0000 (21:50 +0300)]
Add '--dicts' option to include dictionaries specified in targetspec

This option will search for files specified in 'dicts' variable in
targetspec in the given directory and copy them to the built artifacts. If
there is no 'dicts' variable or it is empty this option will do nothing.

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