Dmitriy Nikiforov [Fri, 6 Oct 2017 18:15:41 +0000 (21:15 +0300)]
Add report generation in JUnit XML reports format
Change-Id: I0c999ea8cdaca2213fd2ac6f742594cd494992b6
p.privalov [Fri, 7 Jul 2017 14:40:41 +0000 (17:40 +0300)]
Fuzzing target for msg-service
Fuzzed
SmsPluginTpduCodec::decodeTpdu
SmsPluginParamCodec::decodeAddress
SmsPluginParamCodec::encodeAddress
SmsPluginUDCodec::decodeUserData
SmsPluginUDCodec::encodeUserData
vmsg_decode
vmsg_encode
MsgTextConvert::convertEUCKRToUTF8
MsgTextConvert::convertGSM7bitToUTF8
MsgTextConvert::convertSHIFTJISToUTF8
MsgTextConvert::convertUCS2ToUTF8
MsgTextConvert::convertUTF8ToAuto
MsgTextConvert::convertUTF8ToGSM7bit
MsgTextConvert::convertUTF8ToUCS2
Also added required build.sh and targetspec with local and remote git
Change-Id: I85c6cb09b1f76f7a83af0b991230bb42a0a5f871
Dmitriy Nikiforov [Fri, 6 Oct 2017 20:54:30 +0000 (23:54 +0300)]
Add 'sdb shell' wrapper for long commands
sdb has some limit for a length of command to be executed.
Change-Id: Ie824bb9b1580b393f720c6717a4f8fb39acb4e39
Dmitriy Nikiforov [Wed, 27 Sep 2017 17:57:28 +0000 (20:57 +0300)]
Use 'run' with '--timeout' option in 'run-all' for job rotation
Simplified job rotation by utilizing new '--timeout' option of the 'run'
command.
Change-Id: Ib23d485450dab7dcca127631280c5b32d0a39455
Dmitriy Nikiforov [Wed, 27 Sep 2017 17:49:24 +0000 (20:49 +0300)]
Add option to 'run' command to set maximum total time for fuzzing
'--timeout' option sets the value for '-max_total_time' libFuzzer option.
Change-Id: Ic72f6ea7b2d92a73b840d7c06483ef53186551d0
Dmitriy Nikiforov [Wed, 4 Oct 2017 16:33:22 +0000 (19:33 +0300)]
Renamed TARGET variable in jenkins scripts to PROJECT
Change-Id: I80d1e31c766cb7bc6c4f29f6713b95dfec19d887
Dmitriy Nikiforov [Fri, 6 Oct 2017 13:05:51 +0000 (16:05 +0300)]
Fixed typo in the name of the tizen-platform-config target
Change-Id: I83b72abce66b9d8e522bbfdcf803c10aa920d6d2
Dmitry Kovalenko [Wed, 4 Oct 2017 05:28:30 +0000 (08:28 +0300)]
Fuzzing target for system-info package
Fuzzed functions:
* system_info_get_platform_bool()
* system_info_get_platform_int()
* system_info_get_platform_double()
* system_info_get_platform_string()
* system_info_get_platform_type()
* system_info_get_custom_bool()
* system_info_get_custom_int()
* system_info_get_custom_string()
Change-Id: I2c2fef391277326b15262aabaefbfc508d7b0e17
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Dmitriy Nikiforov [Fri, 29 Sep 2017 09:18:30 +0000 (12:18 +0300)]
Parse total edge and functions coverage values from coverage report
Now correct total coverage percentage is read from the coverage report instead
of being calculated as an average file coverage.
And 2 new columns are added:
- Max Functions Coverage
- Total Functions Coverage
Change-Id: I5d6ebb09bdae625a9067e72485f7ea47a650f693
Dmitriy Nikiforov [Thu, 28 Sep 2017 15:06:48 +0000 (18:06 +0300)]
Highlight all 'Average Exec/s' values below 1000 in red color
1000 exec/s is a minimal recommended average speed for fuzzing.
Change-Id: Ia74f823ffd885fcdfc2c53c989c9a02747221ac8
Dmitriy Nikiforov [Wed, 27 Sep 2017 17:13:59 +0000 (20:13 +0300)]
Add option to 'build-all' command to exclude specific projects
Change-Id: I3e18723f29c0ec5c9c7cb72ed58b5c6310e3bf7d
Dmitriy Nikiforov [Thu, 28 Sep 2017 15:04:54 +0000 (18:04 +0300)]
Postbuild script refactoring
Change-Id: Ic86c6b8b0780d7f4458ed564f86e1bd4c31c4789
Dmitriy Nikiforov [Tue, 26 Sep 2017 16:32:09 +0000 (19:32 +0300)]
Add 'Average Exec/s' and 'Peak RSS' columns to summary report
Change-Id: I1b67b915c6274e604644f357ad00753e603b41b0
Dmitriy Nikiforov [Tue, 26 Sep 2017 14:05:06 +0000 (17:05 +0300)]
Add 'Corpus Size' column to summary report
The corpus itself will be within the target artifacts directory.
Change-Id: Ib41bd01e3a9bb9989074d11a1a845be76af78554
Dmitriy Nikiforov [Tue, 26 Sep 2017 13:19:50 +0000 (16:19 +0300)]
Add generated corpus pulling in 'report' command
Also, renamed some confusing variables:
TARGET_NAME -> PROJECT_NAME
TEST_NAME -> TARGET_NAME
Change-Id: Ie087c543678ea70716a13a3beb420bb2001adae5
Dmitriy Nikiforov [Fri, 22 Sep 2017 13:51:41 +0000 (16:51 +0300)]
Change TIZEN_FUZZ_HOME to default value
This is needed to make RV_build and RV_run jobs execute in separate workspaces
and share one lockable resource - /var/lib/jenkins/TizenFuzz directory.
Change-Id: I67442749dda51e0f5c99b2d3b3da7aa87e93caa7
Dmitriy Nikiforov [Fri, 22 Sep 2017 11:53:02 +0000 (14:53 +0300)]
Add Groovy Postbuild plugin script for Jenkins RV_run job
This script generates XML summary file for Summary Display plugin.
Change-Id: I1b59c5d1de7dfb47862edd9c4fbd38eb73bce7a4
Dmitriy Nikiforov [Tue, 19 Sep 2017 14:38:43 +0000 (17:38 +0300)]
Add CGI-script for graceful stop of current fuzzing process
Also, renamed install_rv_daemon.sh script to install_rv_utils.sh.
Change-Id: Id8a79e2c028af96d32083f1b5fd8e0f5c12702d6
Dmitriy Nikiforov [Fri, 15 Sep 2017 18:27:49 +0000 (21:27 +0300)]
Add 'rv-daemon' systemd service
This service is a daemon that can start/stop specified emulator VMs and
gracefully stop current fuzzing process.
All communication is done through /run/jenkins/rv-daemon.pipe.
Commands:
* start <vm> - starts given vm
* stop <vm> - stops given vm
* stop-fuzzing - stops current fuzzing process
Added files:
* rv-daemon.sh - daemon script
* rv-daemon.service - systemd service file
* install_rv_daemon.sh - script for automatic daemon installation, should be
executed with root access rights
Change-Id: Ia80cb201de174b98baa7d4b6216694b43ba33bc1
Dmitriy Nikiforov [Thu, 28 Sep 2017 15:40:41 +0000 (18:40 +0300)]
Add option to build a single specified target in RV_build job
If the TARGET environment variable is not empty, it will be used as a name of
the single fuzz project to be built.
Change-Id: Id8cd1e589ba6d3293a7c81db069de68a3af872ad
Dmitry Kovalenko [Tue, 3 Oct 2017 12:33:54 +0000 (15:33 +0300)]
Fix typo in utils.sh ( {} instead of () )
Change-Id: Ib02b6764ea0452aa6c05a00669ef25c142976b44
Dmitriy Nikiforov [Wed, 27 Sep 2017 15:40:58 +0000 (18:40 +0300)]
Fix rpm_n_reqs.py script to support all architectures
Now script accepts 3 argumets:
1. path to GBS root
2. architecture
3. required package name
Change-Id: I69869b4b103807f4564815e209e4532db15ec221
Dmitriy Nikiforov [Wed, 27 Sep 2017 11:51:32 +0000 (14:51 +0300)]
Fix 'publish' to use real device arch when searching for libasan
Change-Id: I013d20269456563a6bdc9383510632048de650b0
Dmitriy Nikiforov [Tue, 26 Sep 2017 17:11:23 +0000 (20:11 +0300)]
Fix 'install_deps' function for i686 architecture
Added functions:
* get_device_real_arch - prints the output of the 'uname -m' command
executed on device.
Change-Id: I36f46744903b77131196df66457c3ba3aee2483c
Dmitriy Nikiforov [Tue, 26 Sep 2017 16:42:09 +0000 (19:42 +0300)]
Make 'publish' command to not fail on 'find' for optional files
Change-Id: I1729271927df3fed4d74134bebadd71e554949ea
Dmitriy Nikiforov [Wed, 30 Aug 2017 16:26:53 +0000 (19:26 +0300)]
Add .options file for bundle-fuzz.out target
ASan options:
* allocator_may_return_null=1 - needed to test exceptional cases with large
callocs.
libFuzzer options:
* max_len=128 - in absense of any dictionaries max_len=4096 is too much and
fuzzing process becomes pretty slow.
Change-Id: I4afb1abd2e14782bf937eced876bbd5df906d589
Dmitriy Nikiforov [Fri, 15 Sep 2017 18:27:31 +0000 (21:27 +0300)]
Fix wget wildcard in the install_deps function
Now wget only loads dependencies for current arch or 'noarch' and rejects
any packages with the '-32bit-' string in its name.
Change-Id: I0b78f24c709ef972cf7687a44e2e4523cd367d05
Dmitriy Nikiforov [Fri, 15 Sep 2017 18:27:19 +0000 (21:27 +0300)]
Cut all newline characters from the 'uname -m' command output
Change-Id: I25de911701ff58549f21c016e47b0255cb9a33da
Dmitriy Nikiforov [Fri, 15 Sep 2017 18:26:55 +0000 (21:26 +0300)]
Add Jenkins script for 'RV_run' job
Change-Id: I6db1158463bdf1b72baf26287931593c2b77b64e
Dmitriy Nikiforov [Wed, 13 Sep 2017 14:53:42 +0000 (17:53 +0300)]
Add 'version' command
Current version is 1.0.0.
Change-Id: I4cf6507652c6795e2c21b9d48babf8204f488fa4
Dmitriy Nikiforov [Wed, 6 Sep 2017 15:57:35 +0000 (18:57 +0300)]
Change '--corpus' option behaviour to search for target's corpus
Now --corpus feature does not demand of corpus directory to have any fixed
structure and just searches for <target-name>.zip archive in it.
Change-Id: I1d403d971ddf8f539b59ebe8437527417666a46d
Dmitriy Nikiforov [Tue, 5 Sep 2017 19:10:27 +0000 (22:10 +0300)]
Update help messages for all tizen_fuzz.sh script commands
Change-Id: I54c642d8b6b6ab67953f607c01357ffc6d618cf0
Dmitriy Nikiforov [Tue, 5 Sep 2017 19:52:43 +0000 (22:52 +0300)]
Add cleaning of previously pushed rpms on device
Change-Id: I105a46334f2d023e19718f1dc4cce9238762558a
Dmitriy Nikiforov [Wed, 30 Aug 2017 16:24:50 +0000 (19:24 +0300)]
Add 'deps' fields to targetspec files in tpk/wgt-manifest-handlers
Added boost libraries as targets run-time dependencies. Without these
libraries target cannot be executed on device.
Change-Id: Ia89dfc7f136e4d7fba54f50b9ad9a538ea51e9e7
Dmitriy Nikiforov [Wed, 30 Aug 2017 16:21:08 +0000 (19:21 +0300)]
Remove redundant 'sdb root on' invocation
Change-Id: I162967ff50b235ffae9ba619abdc792ffbddc711
Dmitriy Nikiforov [Tue, 22 Aug 2017 12:12:31 +0000 (15:12 +0300)]
Add missing help information for '--dump-coverage' option
Change-Id: I4154e5eab2a36f0ffddd1afe3e7fcb12a3481db7
Dmitriy Nikiforov [Thu, 31 Aug 2017 16:23:19 +0000 (19:23 +0300)]
Fix '--long' option for 'list' command
Fixed 'architecture' field which displayed list of names of all directories
inside target build directory. This list included besides architecture
directories also 'dicts' and 'options' directories.
Now this field only shows 'i586' and 'x86_64' as was initially intended.
Also, fixed shellcheck warnings in this script.
Change-Id: Icd46f370fa9e76666a4f3e9e26ab23806fd063d0
Dmitriy Nikiforov [Wed, 6 Sep 2017 11:03:47 +0000 (14:03 +0300)]
Update GBS configuration files
Replaced gbs_emulator64.conf and gbs_emulator32.conf with one gbs_emulator.conf
file which now uses 'standard' repository for Tizen:Base.
Change-Id: I31c7c4083aeee7171857d0724feb0add4dda119a
Dmitriy Nikiforov [Wed, 30 Aug 2017 16:20:22 +0000 (19:20 +0300)]
Add support for target dependencies to the 'publish' command
Change-Id: I8c428be7b1a7d9cba2ba5be5a95141539b226744
Dmitriy Nikiforov [Wed, 30 Aug 2017 16:17:25 +0000 (19:17 +0300)]
Print errors and warnings from 'rpm_n_reqs.py' to stderr
This is needed for easy filtering of useful output (list of rpm packages)
from other information.
Change-Id: I86664a8b385ebbcc33bbfb8f197124532aaa9a39
Dmitriy Nikiforov [Wed, 30 Aug 2017 16:14:32 +0000 (19:14 +0300)]
Add support for 'deps' field in targetspec to the 'build' command
This optional field will specify a list of additional target run-time
dependencies that need to be installed on device.
Change-Id: I39fd88fa89ec51520005009a1a3f142d8dc9d938
Dmitriy Nikiforov [Wed, 30 Aug 2017 16:12:47 +0000 (19:12 +0300)]
Reduce the number of jobs for '--test-input' option to 1 job
There is no need to test one input multiple times.
Change-Id: I69ecfe78a8566357f803d8da8066ce1e36829eb6
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>
Dmitriy Nikiforov [Tue, 29 Aug 2017 12:12:46 +0000 (15:12 +0300)]
Update general help message
Change-Id: Ifb509891f76f311fc76aa470d9f663368c9066b5
Dmitriy Nikiforov [Tue, 29 Aug 2017 09:20:25 +0000 (12:20 +0300)]
Fix list of target binaries in 'publish' command
Change-Id: I934cf671bfa3549992cd47961efd7e9d22f52003
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
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
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
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
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
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
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
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
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
Dmitriy Nikiforov [Mon, 21 Aug 2017 16:25:58 +0000 (19:25 +0300)]
Reduce niceness of the fuzzing process
Change-Id: Id40ba50795ddd7408e7c3e7b747f3b3b729b1634
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>
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
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
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
Dmitriy Nikiforov [Thu, 17 Aug 2017 14:38:23 +0000 (17:38 +0300)]
Fix shellcheck warnings in infra/commands/run.sh
Change-Id: I07db6baa4f32ad5fb1f332945de541ce64ce946c
Dmitriy Nikiforov [Thu, 17 Aug 2017 14:30:00 +0000 (17:30 +0300)]
Fix shellcheck warnings in infra/commands/publish.sh
Change-Id: Ifcea704673c4554db0100387c6f2c008d27ed7a0
Dmitriy Nikiforov [Thu, 17 Aug 2017 14:15:53 +0000 (17:15 +0300)]
Fix shellcheck warnings in infra/commands/build.sh
Change-Id: I5dc299d8244091505a4f17569ce5e13d6509ad0f
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
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
Dmitriy Nikiforov [Thu, 17 Aug 2017 13:51:17 +0000 (16:51 +0300)]
Unify 'SDB_CMD' variable usage
Change-Id: Icb4946a4dadf9554de8737f5b26ba2bed818abc3
Dmitriy Nikiforov [Thu, 17 Aug 2017 12:03:21 +0000 (15:03 +0300)]
Fix glob in 'build' command
Change-Id: I0c2c581e882dcb66ada81b756caa97651faa04a9
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
Dmitriy Nikiforov [Fri, 11 Aug 2017 13:12:57 +0000 (16:12 +0300)]
Add automatic root filesystem remounting in 'publish' command
Change-Id: Ib551ff241793131328eda7f75c3a81dc9a676741
Dmitriy Nikiforov [Fri, 11 Aug 2017 12:55:57 +0000 (15:55 +0300)]
Add '--install-deps' option to install missing dependencies
Change-Id: I35417285861a79efaa5bb38a4af89833823e09c7
Dmitriy Nikiforov [Thu, 10 Aug 2017 20:55:40 +0000 (23:55 +0300)]
Fix shellcheck warnings in infra/utils.sh
Change-Id: I3abcf4ba972503df49f310bc3a3f6dd034bb557e
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
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
Dmitriy Nikiforov [Fri, 4 Aug 2017 16:37:24 +0000 (19:37 +0300)]
Add .options files for wgt/tpk-manifest-handlers projects
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.
Dmitriy Nikiforov [Fri, 4 Aug 2017 15:50:54 +0000 (18:50 +0300)]
Add 'run' command to execute specified fuzzing target on device
Dmitriy Nikiforov [Fri, 4 Aug 2017 17:01:57 +0000 (20:01 +0300)]
Add support for .options files to 'publish' command
Dmitriy Nikiforov [Fri, 4 Aug 2017 16:15:31 +0000 (19:15 +0300)]
Add support for .options files to 'build' command
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>
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>
Dmitriy Nikiforov [Thu, 10 Aug 2017 17:26:25 +0000 (20:26 +0300)]
Fix renamed 'sdb shell' wrappers in publish command
Dmitriy Nikiforov [Thu, 10 Aug 2017 13:54:47 +0000 (16:54 +0300)]
Add "--define 'asan 1'" option to gbs build options
Dmitriy Nikiforov [Fri, 4 Aug 2017 16:24:39 +0000 (19:24 +0300)]
Enable more compiler warnings by default
Dmitriy Nikiforov [Tue, 8 Aug 2017 13:51:20 +0000 (16:51 +0300)]
Fix error messages in sdb_shell_verbose
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
Dmitriy Nikiforov [Thu, 3 Aug 2017 12:00:54 +0000 (15:00 +0300)]
Add support for dictionaries to 'publish' command
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
. . .
Dmitriy Nikiforov [Thu, 3 Aug 2017 10:35:26 +0000 (13:35 +0300)]
Simplify rpms extraction on device
Dmitriy Nikiforov [Tue, 1 Aug 2017 14:56:50 +0000 (17:56 +0300)]
Simplify and make sdb wrappers accessible to all commands
Dmitriy Nikiforov [Tue, 1 Aug 2017 14:55:21 +0000 (17:55 +0300)]
Simplify search for specified target
Dmitriy Nikiforov [Tue, 1 Aug 2017 13:55:35 +0000 (16:55 +0300)]
Add sdb shell wrapper with 'printf'
Dmitriy Nikiforov [Tue, 1 Aug 2017 12:14:01 +0000 (15:14 +0300)]
Add '--with-asan' option to push the libasan package to device
Dmitriy Nikiforov [Tue, 1 Aug 2017 12:12:09 +0000 (15:12 +0300)]
Make GBS_ROOT variable accessible to all commands
Dmitriy Nikiforov [Mon, 31 Jul 2017 12:26:26 +0000 (15:26 +0300)]
Add 'publish' command to push built targets to emulator via sdb
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
Dmitriy Nikiforov [Wed, 2 Aug 2017 20:08:35 +0000 (23:08 +0300)]
Add script for Jenkins RV job's build stage
Dmitriy Nikiforov [Wed, 2 Aug 2017 20:03:25 +0000 (23:03 +0300)]
Rename 'build_targets.sh' to 'tizen_fuzz.sh'
Dmitriy Nikiforov [Wed, 2 Aug 2017 18:54:27 +0000 (21:54 +0300)]
Add 'dicts' variable to existing targetspecs
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.
Dmitriy Nikiforov [Wed, 2 Aug 2017 15:02:34 +0000 (18:02 +0300)]
Clean previously built artifacts before starting a new build
Dmitriy Nikiforov [Wed, 2 Aug 2017 14:55:26 +0000 (17:55 +0300)]
Add '--noinit' option to build command to skip dependencies installation