Vitaliy Cherepanov [Fri, 17 Jul 2015 11:59:56 +0000 (14:59 +0300)]
[FIX] replay events timing
Change-Id: I6a9b8a702955583566b69849df8aaea1a4d3600b
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vyacheslav Cherkashin [Fri, 17 Jul 2015 10:46:32 +0000 (13:46 +0300)]
[FIX] disable WSP for tv profile
Change-Id: I4deb344c67def3734ff36a1c07de2d3e6450f070
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 17 Jul 2015 10:39:55 +0000 (13:39 +0300)]
[IMPROVE] add WSP_SUPPORT build flag
Change-Id: I817d1a23530ab5deaf13bc567d3470a2d2f5e69a
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 17 Jul 2015 09:51:50 +0000 (12:51 +0300)]
[IMPROVE] Add checker of supported features in FeatureManager
Change-Id: I09a08f002b0e7f1cd5c4d3a2729f3abf00a915bd
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 16 Jul 2015 16:57:51 +0000 (19:57 +0300)]
[FIX] workaround: ignore main() function address
Change-Id: I252e38d0b3111e96977d68ed3c1c853e98e21122
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Dmitry Kovalenko [Thu, 16 Jul 2015 07:55:09 +0000 (10:55 +0300)]
[FIX] Change 'echo' by '/bin/echo'
This fixes issues on new binaries
Change-Id: If262c6445cd11f5bf4906b15349e4ff58d726432
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vasiliy Ulyanov [Sun, 12 Jul 2015 12:57:10 +0000 (15:57 +0300)]
[FIX] Preload probes setup
Do not return immediately if some of the binaries are not found
on target. Otherwise the probes might not be setup properly (e.g.
if the wrong binary appears in the middle of the list).
Change-Id: I9c99f9def6922fdba11d623fe6e574ceda10ca9a
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vyacheslav Cherkashin [Thu, 9 Jul 2015 17:29:44 +0000 (20:29 +0300)]
[FIX] nsp stages determination
Change-Id: Ib612c82974bcac9c75cf95201ce5c88d23e43249
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Alexander Aksenov [Mon, 6 Jul 2015 17:24:36 +0000 (20:24 +0300)]
[FIX] Preload flags checking
Change-Id: I1a158850aea71f5d93f3609ae1b65ea5314b549a
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Anastasia Lyupa [Tue, 7 Jul 2015 18:38:29 +0000 (21:38 +0300)]
[FIX] replay events
Change-Id: I5bdcf52ee4d0f6b067736b126a3ec7f55ad14a9a
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Dmitry Kovalenko [Tue, 7 Jul 2015 14:40:12 +0000 (17:40 +0300)]
[FIX] Build with new json-c
Change-Id: I6a189c070d66c8fe18f523ccbbcf64aecb741c05
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Dmitry Kovalenko [Tue, 7 Jul 2015 10:48:33 +0000 (03:48 -0700)]
Revert "[FIX] Fix: Build with new json"
This reverts commit
7f32c281ed8698684aae8bc5cd69843bd4ded6dd.
Change-Id: Iacee0db73c79525d00dba5029c508779dbbb4204
Dmitry Kovalenko [Tue, 7 Jul 2015 10:40:52 +0000 (13:40 +0300)]
[FIX] Fix: Build with new json
Change-Id: I1c7dde2a21975df2ea9fb283e417db6ad73977d9
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Konstantin Baladurin [Tue, 7 Jul 2015 10:19:08 +0000 (13:19 +0300)]
[FIX] fix prevent
---------------------------------------------------------------------------
| CID | Type | File | Function |
|--------------------------------------------------------------------------
| 451167 | Resource leak | da_protocol_inst.c | add_preload_probes |
|--------------------------------------------------------------------------
| 452808 | Resource leak | da_protocol_inst.c | add_preload_probes |
---------------------------------------------------------------------------
Change-Id: Ifd9b743ace327538508bf47ef736defab24d9774
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
Dmitry Kovalenko [Mon, 6 Jul 2015 05:16:04 +0000 (08:16 +0300)]
[FIX] Build with new json
Change-Id: Ie12b37e4f9dedbbf3d265b477a980d8387cabb4d
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Alexander Aksenov [Fri, 27 Feb 2015 12:44:06 +0000 (15:44 +0300)]
[IMPROVE] Preload: Breakpoint probe msg saving
Change-Id: Ifcc1cb1fc73b4e19b498c76b3cefe010a0213bf8
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Anastasia Lyupa [Tue, 30 Jun 2015 12:17:51 +0000 (15:17 +0300)]
[FIX] checking features for ld probes
Change-Id: I5b8d863c0757a02ea90d19fc98ab9b6c63686020
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Konstantin Baladurin [Wed, 1 Jul 2015 08:12:46 +0000 (11:12 +0300)]
[FIX] fix double free and null pointer dereference
Fix double free in free_lib function and null pointer derefence in
add_preload_probes function
Change-Id: I8753408c6bd655f40ffbdf58a290149ec329ea12
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
Dmitry Kovalenko [Tue, 30 Jun 2015 09:57:03 +0000 (12:57 +0300)]
[FIX] re:Prevent issue FORWARD_NULL
Change-Id: Id779461b8d3807cd0f14f5ddd081054560867036
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Dmitry Kovalenko [Tue, 30 Jun 2015 09:07:00 +0000 (12:07 +0300)]
[FIX] Prevent issue FORWARD_NULL
Change-Id: If87cc8431a20f0f098a8c09b32b8ac149ba7ed65
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vyacheslav Cherkashin [Mon, 29 Jun 2015 09:24:28 +0000 (12:24 +0300)]
[FIX] enable features for second start profiling
Change-Id: I017870082eaa0c74f77dcadc5b07b9654e8cb5d8
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Konstantin Baladurin [Mon, 29 Jun 2015 05:36:53 +0000 (08:36 +0300)]
[FIX] prevent issue
--------------------------------------------------------------------------------------------
| CID | Type | File | Function |
|------------------------------------------------------------------------------------------|
| 451167 | Resource leak | da_protocol_inst.c | add_preload_probes |
--------------------------------------------------------------------------------------------
Change-Id: Ibf76e1eb1959ff633c54b034023a40f3332bd082
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
Alexander Aksenov [Wed, 24 Jun 2015 10:52:39 +0000 (13:52 +0300)]
[FIX] Preload: getting linker path
Change-Id: Ifc8408db4ad430d5707e500290def24c78a81b81
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Konstantin Baladurin [Wed, 24 Jun 2015 11:40:04 +0000 (14:40 +0300)]
[FIX] build fix
add missing ';'
Change-Id: I4005f5d73675f249f82a6f907d4fba0d1da22f00
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
Konstantin Baladurin [Wed, 24 Jun 2015 10:52:36 +0000 (13:52 +0300)]
[FIX] prevent issue
------------------------------------------------------------------------------------
| CID | Type | File | Function |
|----------------------------------------------------------------------------------|
| 351955 | Untrusted value as argument | da_protocol.c | recv_msg_from_sock |
|----------------------------------------------------------------------------------|
Change-Id: Ia54fd4f724ed22509f00005114ab701ca897c2dd
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
Konstantin Baladurin [Mon, 22 Jun 2015 08:51:44 +0000 (11:51 +0300)]
[FIX] prevent issues
--------------------------------------------------------------------------------------------
| CID | Type | File | Function |
|------------------------------------------------------------------------------------------|
| 451239 | Uninitialized scalar variable | da_inst.c | ld_add_probes_by_feature |
|------------------------------------------------------------------------------------------|
| 451189 | Resource leak | FileElf.cpp | makeRelocMap |
|------------------------------------------------------------------------------------------|
| 451185 | Resource leak | FileElf.cpp | makeRelocMap |
|------------------------------------------------------------------------------------------|
| 451183 | Resource leak | FileElf.cpp | getAddrPlt |
|------------------------------------------------------------------------------------------|
| 451178 | Resource leak | FileElf.cpp | readSectionsInfo |
|------------------------------------------------------------------------------------------|
| 451172 | Resource leak | da_protocol_inst.c | parse_app_inst_list |
|------------------------------------------------------------------------------------------|
| 451168 | Resource leak | da_protocol_inst.c | add_preload_probes |
|------------------------------------------------------------------------------------------|
| 451167 | Resource leak | da_protocol_inst.c | add_preload_probes |
|------------------------------------------------------------------------------------------|
| 451125 | Null pointer dereferences | wsi.c | wsi_set_smack_rules |
|------------------------------------------------------------------------------------------|
| 451123 | Null pointer dereferences | da_protocol_inst.c | feature_add_func_inst_list |
|------------------------------------------------------------------------------------------|
| 451122 | Null pointer dereferences | wsi.c | send_request |
|------------------------------------------------------------------------------------------|
| 451121 | Null pointer dereferences | da_protocol_inst.c | feature_add_func_inst_list |
|------------------------------------------------------------------------------------------|
| 451076 | Deleting void pointer | FileElf.cpp | putSection |
--------------------------------------------------------------------------------------------
Change-Id: If21d9b2983b3c97d6fa94761f49334f975c94b1b
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
Anastasia Lyupa [Fri, 19 Jun 2015 08:04:16 +0000 (01:04 -0700)]
Revert "[FIX] startup profiling for basic app"
This reverts commit
d4b14ad6e1859d0974f295f8364678f5b14ea4fc.
Because launchpad_preloading_preinitializing_daemon was removed.
Change-Id: Id6ffaef87f283049515cf6564161508fa6fd9d0e
Dmitry Kovalenko [Fri, 19 Jun 2015 05:25:40 +0000 (08:25 +0300)]
[FIX] start.sh for builtin modules
Change-Id: I6fbf0eaf62d2c64de0559111f81527dcc79f293a
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Anastasia Lyupa [Tue, 16 Jun 2015 10:56:32 +0000 (13:56 +0300)]
[FIX] startup profiling for basic app
when app is launched by launchpad_preloading_preinitializing_daemon,
not launchpad-process-pool
Change-Id: I92185c259a53264c9cebae76c4ad16b3d1932c37
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Vyacheslav Cherkashin [Sat, 13 Jun 2015 22:25:34 +0000 (01:25 +0300)]
[IMPROVE] plt functions search
if plt is hidden then search it dynamicaly (ARM)
Change-Id: I2f8215e76bf11f6a65c7146cc0cc29cf3daf2c45
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Dmitry Kovalenko [Sat, 13 Jun 2015 21:35:19 +0000 (00:35 +0300)]
[FIX] Building for TV
Change-Id: I1dece368682c5f93742dde0085f98a57bb8a9ca5
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Dmitry Kovalenko [Thu, 11 Jun 2015 18:23:16 +0000 (21:23 +0300)]
Merge branch 'tizen_2.4_dev' into tizen_2.4
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Conflicts:
daemon/da_inst.c
daemon/da_protocol.c
daemon/da_protocol_inst.c
daemon/input_events.c
daemon/utils.c
scripts/start.sh
Change-Id: I87ccf885eec04e460f89c735ead969fb4ddf2b08
Dmitry Kovalenko [Thu, 11 Jun 2015 16:21:01 +0000 (19:21 +0300)]
Merge branch 'tizen_2.4_pre' into tizen_2.4
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Conflicts:
daemon/start.sh
daemon/threads.c
daemon/utils.c
Change-Id: I168a867a8a9410e17a190a6c139bf522266bc36e
Vitaliy Cherepanov [Thu, 4 Jun 2015 10:46:46 +0000 (13:46 +0300)]
[FIX] segmentation fault on replay events
Change-Id: Ia54f8db12ff65ec07b9137ddbe38f6997a08b6fe
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vyacheslav Cherkashin [Wed, 10 Jun 2015 10:42:19 +0000 (13:42 +0300)]
[FEATURE] native setup profiling implement
Change-Id: If7945d80108486b0d943790798fc6cb7cf61ea44
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 10 Jun 2015 10:33:02 +0000 (13:33 +0300)]
[IMPROVE] create AppInst*
Change-Id: I4fef70c75c3142a7a3dd869011a6f7892848ec07
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 1 Jun 2015 16:48:19 +0000 (19:48 +0300)]
[REFACTOR] move *.cpp files to daemon/cpp/
Change-Id: I8efbd1cc2b45e8dcf929870c8f3b774e2f4d1a73
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vitaliy Cherepanov [Thu, 4 Jun 2015 13:20:44 +0000 (16:20 +0300)]
[REFACTOR] add process MSG_GET_TARGET_INFO function
Change-Id: I11b7fe4cceabd6bcdc3aefb25e683dfeb320f29d
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Fri, 29 May 2015 09:18:49 +0000 (12:18 +0300)]
[FIX] search launched app by binary path
Change-Id: Icf272912f23f585722945afbd3fd3660157647f0
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Tue, 26 May 2015 16:00:21 +0000 (19:00 +0300)]
[PROTO] Change binary ack message according to proto 4.0
change binary ack message according to proto 4.0
Change-Id: I5be8fa9e28fea7b3efd14f5520b37ed40da5be73
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Tue, 26 May 2015 14:38:38 +0000 (17:38 +0300)]
[REFACTOR] application msg ID
Change-Id: I443d1fdd8d01f80d02efa6359e1246ab5822408c
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Tue, 26 May 2015 14:19:05 +0000 (17:19 +0300)]
[FIX] MSG_VERSION ack
fix wrong ack code
fix debug MSG_VERSION
Change-Id: I256fd146dfb1a71c08b1893a4294174a6595eab8
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Alexander Aksenov [Wed, 27 May 2015 09:18:55 +0000 (12:18 +0300)]
[IMPROVE] Preload: flexible initialization
Change-Id: I62961bce670efd08146e7265a9632f9b82714f5e
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 17 Mar 2015 14:15:22 +0000 (17:15 +0300)]
[REFACTOR] Preload probe type
Change-Id: I56c63029703208eeab9f8182b902df52b2b1dd94
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Yurchenko Darya [Mon, 8 Jun 2015 14:10:45 +0000 (17:10 +0300)]
[FIX] prevents
--------------------------------------------------
| TYPE | FUNCTION |
|----------------|-------------------------------|
|NULL RETURNS | update_process_data |
|----------------|-------------------------------|
|NULL RETURNS | sendACKToHost |
|----------------|-------------------------------|
|DC.SECURE_CODING| get_ack_msg_id |
|_CRITICAL | |
|----------------|-------------------------------|
|NULL_RETURNS | gen_message_error |
|----------------|-------------------------------|
|NULL_RETURNS | binary_ack_alloc |
|----------------|-------------------------------|
|NULL_RETURNS | process_msg_binary_info |
|----------------|-------------------------------|
|NULL_RETURNS | gen_stop_msg |
|----------------|-------------------------------|
|NULL_RETURNS | parse_us_inst_func |
|----------------|-------------------------------|
|NULL_RETURNS | gen_message_terminate |
|----------------|-------------------------------|
|NULL_RETURNS | gen_message_event |
|----------------|-------------------------------|
|NULL_RETURNS | new_probe |
|----------------|-------------------------------|
|NULL_RETURNS | generate_msg |
|----------------|-------------------------------|
|NULL_RETURNS | new_lib |
|----------------|-------------------------------|
|DC.SECURE_CODING| binary_ack_alloc |
|_CRITICAL | |
|----------------|-------------------------------|
|NULL_RETURNS | new_data |
|----------------|-------------------------------|
|NULL_RETURNS | update_thread_data |
|----------------|-------------------------------|
|NULL_RETURNS | fill_system_cpu_info |
|----------------|-------------------------------|
|NULL_RETURNS | new_app |
--------------------------------------------------
Change-Id: I1391e706f1e73e49437327eac8dfea1e48121dd7
Signed-off-by: Yurchenko Darya <d.urchenko@partner.samsung.com>
Dmitry Kovalenko [Wed, 10 Jun 2015 06:56:06 +0000 (09:56 +0300)]
[FIX] starting da_manager on TV
Change-Id: I04d4e9bc7d40912943aaceebbc50ab5b96711468
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Dmitry Kovalenko [Wed, 10 Jun 2015 04:34:37 +0000 (07:34 +0300)]
[FIX] modules insertion in start.sh
add /usr/sbin/ to PATH variable
Change-Id: Ibdbdc4c71ea741652a3dd95a49b3c756eeab34a7
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vitaliy Cherepanov [Wed, 3 Jun 2015 16:02:15 +0000 (19:02 +0300)]
[FIX] MSG_SCREENSHOT unknown error code
Change-Id: I058b29cf101e1b0723d4344310baf160b1dddb63
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vyacheslav Cherkashin [Mon, 1 Jun 2015 16:27:15 +0000 (19:27 +0300)]
[FIX] build manager
Change-Id: Ic922997b7a9039074a8318069efa333e70cb6d91
Vyacheslav Cherkashin [Mon, 1 Jun 2015 16:25:47 +0000 (19:25 +0300)]
[FIX] scripts/gen_wsi_prof.sh
Change-Id: I8be9454c9cc39cd721b87bd79cd34d91acaf8210
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 18 May 2015 16:06:15 +0000 (19:06 +0300)]
[FEATURE] web setup profiling implement
Change-Id: I3d0572738c6a83444bb46e24e1ba20b26e26b038
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 4 Mar 2015 19:12:30 +0000 (22:12 +0300)]
[IMPROVE] create FeatureManager
Change-Id: Ifa4e37cb0d2701b188da9e3883d8bb9747324e25
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vitaliy Cherepanov [Wed, 20 May 2015 13:16:06 +0000 (16:16 +0300)]
[FIX] SWAP_PRELOAD: Module is not initialized.
Change-Id: If2f8e84b94c1c9d99cf7c27e6b7f7a45d62fdac8
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Dmitry Kovalenko [Fri, 15 May 2015 16:41:59 +0000 (19:41 +0300)]
[FIX] check containers (lightweight)
Change-Id: I275c7663e370a63010c356a2b337bc2b65bb2871
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Dmitry Kovalenko [Fri, 15 May 2015 16:31:24 +0000 (19:31 +0300)]
[FEATURE] check containers (lightweight)
Change-Id: I250b53d4d7aa5a7ef64ad3ab0fb87d4e50d25634
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vitaliy Cherepanov [Mon, 12 Jan 2015 14:08:20 +0000 (17:08 +0300)]
[FIX] add strdup to malloc debug
Change-Id: Ic2a2ed82e08efb979ee76e3b56fd3e8872ec7745
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Fri, 14 Nov 2014 10:28:03 +0000 (13:28 +0300)]
[FIX] malloc debug
Change-Id: I42d3e016f5713da2dbe60b7392dad5d5b66249fa
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Fri, 15 May 2015 10:09:18 +0000 (13:09 +0300)]
[FEATURE] check containers
Change-Id: I6effbc19abb603cd61849b3c828dcba9b82bfc74
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Tue, 2 Dec 2014 14:43:21 +0000 (17:43 +0300)]
[FEATURE] FBI multi probing
Change-Id: I5c0824bd46bc4fee06e0ce0efec4150bf86c941c
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Tue, 18 Nov 2014 10:16:16 +0000 (13:16 +0300)]
[FEATURE] FBI implement
Change-Id: I2bdce493296587bc901a91c6128d429ece7545b2
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Mon, 27 Apr 2015 12:11:00 +0000 (15:11 +0300)]
[PROTO] implement protocol version 4.0
Change-Id: I535c03eaf9a915de898e373a2db543faa45c275b
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Anastasia Lyupa [Thu, 23 Apr 2015 13:30:42 +0000 (16:30 +0300)]
[FEATURE] set webprobe profiling
- add webkit2-efl-debuginfo dependency to
determine libewebkit addresses required
for web app profiling
- send addresses to modules through debugfs
- fix SMACK rules issue
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Change-Id: I75d4e952163db4845de737da42a7152d0b51bd31
Vitaliy Cherepanov [Tue, 12 May 2015 11:56:43 +0000 (14:56 +0300)]
[FIX] prevent issues
|--------|------------------------------|-----------|------------|
| CID | Type | File | Function |
|--------|------------------------------|-----------|------------|
| 377075 | Dereference after null check | da_inst.c | new_app |
| 373010 | Resource leak | da_inst.c | new_app |
| 351955 | Untrusted value as argument | threads.c | recvThread |
|--------|------------------------------|-----------|------------|
Change-Id: Ie97fd82c6f56fb1c05cd837fb251e681c70fdf86
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Wed, 6 May 2015 14:57:23 +0000 (17:57 +0300)]
[FIX] prevent issues
|--------|-------------------------------|--------------------|---------------------------------|
| CID | Type | File | Function |
|--------|-------------------------------|--------------------|---------------------------------|
| 373032 | Uninitialized pointer read | da_protocol.c | process_msg_get_process_add_inf |
| 373029 | Wrong sizeof argument | da_inst.c | new_lib() |
| 373013 | Resource leak | da_inst.c | new_lib() |
| 373010 | Resource leak | da_inst.c | new_app() |
| 373009 | Resource leak | da_protocol_inst.c | parse_us_inst_func |
| 373004 | Dereference null return value | input_events.c | deviceEventHandler |
| 373000 | Dereference null return value | da_protocol.c | process_msg_binary_info |
| 372997 | Dereference null return value | da_protocol.c | write_msg_error |
| 372996 | Dereference null return value | da_inst.c | new_lib |
| 372993 | Dereference null return value | da_inst.c | new_app |
|--------|-------------------------------|--------------------|---------------------------------|
Change-Id: Ic02b5e6a4a8fcea6697a5f29416fd7555c8211c9
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Anastasia Lyupa [Wed, 6 May 2015 10:59:29 +0000 (13:59 +0300)]
Merge branch 'tizen_2.4' into tizen_2.4_dev
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Conflicts:
daemon/Makefile
scripts/stop.sh
Change-Id: Iaba759cad390088f2ab15bf778ba417d485274bf
Dmitry Kovalenko [Wed, 29 Apr 2015 05:09:59 +0000 (08:09 +0300)]
[LICENSE] Change License string
Change-Id: I97c98d4b2368cfae0188c746c54793b22b4a06c1
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
darya [Tue, 21 Apr 2015 14:51:15 +0000 (17:51 +0300)]
[FIX] prevent issues
Change-Id: I8d6e416a4cd282ce5da06d4024279baf09fd2c73
Signed-off-by: darya <d.urchenko@partner.samsung.com>
Vitaliy Cherepanov [Mon, 30 Mar 2015 15:58:05 +0000 (18:58 +0300)]
[FIX] buffer overflow
overflow buf. fscanf call in find_pid_from_path.
Change-Id: Ide5c325003cc977997ac39a8ca114a12e00f112e
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
(cherry picked from commit
9a610e51f899d1393b2a38b520c8db2c4e6136db)
Vitaliy Cherepanov [Wed, 8 Apr 2015 10:22:19 +0000 (13:22 +0300)]
[FIX] prevent issues
|-------------------------------|-------------------|
| Type | Function |
|-------------------------------|-------------------|
| calling risky function | get_cpu_frequency |
|-------------------------------|-------------------|
| calling risky function | get_video_status |
|-------------------------------|-------------------|
| calling risky function | get_network_stat |
|-------------------------------|-------------------|
| calling risky function | get_disk_stat |
|-------------------------------|-------------------|
| Passing tainted string | recvThread |
|-------------------------------|-------------------|
| wrong argument order | sys_stat_prepare |
|-------------------------------|-------------------|
Change-Id: I152304e1000346cd07c9b8e8521a072cdf25c944
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Fri, 3 Apr 2015 12:06:50 +0000 (15:06 +0300)]
[FIX] search launched app by binary path
Change-Id: Ic5a6e5420a4bab23b5e5e1fe68238ae4459f5a52
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Mon, 30 Mar 2015 15:58:05 +0000 (18:58 +0300)]
[FIX] buffer overflow
overflow buf. fscanf call in find_pid_from_path.
Change-Id: Ide5c325003cc977997ac39a8ca114a12e00f112e
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vyacheslav Cherkashin [Tue, 17 Mar 2015 11:14:13 +0000 (14:14 +0300)]
[IMPROVE] init/uninit swap modules
Change-Id: I2cc7902b02f8c245c911205b30599f76fb178ea0
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 11 Mar 2015 16:57:05 +0000 (19:57 +0300)]
[IMPROVE] add use swap_master module
Change-Id: Ia14ab32746cdaa0f7d1a185aed811aabefed35b6
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vitaliy Cherepanov [Fri, 6 Mar 2015 06:44:28 +0000 (09:44 +0300)]
[FIX] da_manager crash on msgcfg (tv emulator)
Change-Id: Ia5c62685fd6bcc61c0dffe0ad51b76b3dfdc8e88
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Alexander Aksenov [Wed, 28 Jan 2015 08:05:33 +0000 (11:05 +0300)]
[IMPROVE] Preload: add probe block_type support
Change-Id: Iefa3436d66595dac5206684a0734336a001d232f
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vitaliy Cherepanov [Wed, 14 Jan 2015 14:56:57 +0000 (17:56 +0300)]
[FIX] da_manager lock file
Change-Id: Ic4bd5fc48fa7756c49786af265e0201f85b911c8
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Tue, 13 Jan 2015 08:35:33 +0000 (11:35 +0300)]
[FIX] Swap manager in TV emulator cannot be launched
Change-Id: I39b0b6f62ec13fee74c23cefe97848b3d88f0fea
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Alexander Aksenov [Wed, 14 Jan 2015 12:19:58 +0000 (15:19 +0300)]
[IMPROVE] Add preload call type support
Change-Id: Ia6c53f17a53f07161b0397ace000525890971f9e
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vitaliy Cherepanov [Thu, 15 Jan 2015 08:46:51 +0000 (11:46 +0300)]
[FIX] prevent issue
|-------------------------------|------------------|
| Type | Function |
|-------------------------------|------------------|
| Uninitialized scalar variable | binary_ack_alloc |
|-------------------------------|------------------|
Change-Id: I10ffe1a9d3cbcd077eb013e2766c9e3b38dac21a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Alexander Aksenov [Fri, 28 Nov 2014 11:10:31 +0000 (14:10 +0300)]
[IMPROVE] Preload: getting caller address support
Change-Id: Iabd9ed71151ae5baa166b9100dde05c0de55af10
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Fri, 31 Oct 2014 12:23:22 +0000 (15:23 +0300)]
[IMPROVE] Add data to be sent to modules
Add handlers path, linker path, getting r_debug address for passing to the
modules via debugfs.
Change-Id: Ibfa71cc62702e59863df30f8308df8ff8ec224a3
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 15 Oct 2014 06:39:44 +0000 (10:39 +0400)]
[IMPROVE] Preload: write instumented binary filename
Change-Id: Ic5a272df5a8e5b684b8ad72230454813f9928ae9
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 29 Sep 2014 14:34:09 +0000 (18:34 +0400)]
[IMPROVE] Add preload collection types support
Change-Id: Ie094514d68bd1c06d5d08071eeafb2bee04f58ef
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vasiliy Ulyanov [Mon, 23 Jun 2014 05:46:37 +0000 (09:46 +0400)]
[FEATURE] Remove native LD_PRELOAD
Change-Id: I07fc26b0047ed1ac93555b7d1ac19eb5d9134526
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Alexander Aksenov [Wed, 10 Sep 2014 13:16:26 +0000 (17:16 +0400)]
[FEATURE] Add preload modules support
Change-Id: Ib30b0b035af2af79108dae2f85ef5b667b517eb5
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vitaliy Cherepanov [Thu, 21 Aug 2014 08:39:32 +0000 (12:39 +0400)]
[FEATURE] custom ld preload support
Change-Id: I8adbd0d225eacdec4d6333d3f4fa56b08325750f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 10 Sep 2014 13:14:43 +0000 (17:14 +0400)]
[IMPROVE] New swap_retprobe module support
Scripts are also moved to scripts/
Change-Id: I0517c4d952ef0ff8494080054a96a29a70cc1f09
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vitaliy Cherepanov [Wed, 14 Jan 2015 07:50:07 +0000 (10:50 +0300)]
[FIX] build for Tizen 2.4
Tizen 2.4 efl upstream migration
Change-Id: Iffa39d82e1508809a06f7ba30ae13b2c14cec11e
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Alexander Aksenov [Mon, 12 Jan 2015 08:51:33 +0000 (11:51 +0300)]
Merge branch 'master' into new_protocol
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Conflicts:
daemon/Makefile
Change-Id: I8e976dfa96bd0bb9ca30fd44c06d12f4220763c9
Vitaliy Cherepanov [Tue, 9 Dec 2014 12:37:21 +0000 (15:37 +0300)]
[FIX] spank spank
ecore spank on doble app launch timer
Change-Id: Iea0162678883bc3534a1f7495a2dd87b596bca6a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Tue, 9 Dec 2014 12:37:21 +0000 (15:37 +0300)]
[FIX] spank spank
ecore spank on doble app launch timer
Change-Id: Iea0162678883bc3534a1f7495a2dd87b596bca6a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Mon, 15 Dec 2014 09:03:20 +0000 (12:03 +0300)]
[FIX] MSG_BINARY_INFO daemon crash if file type is not ELF
Change-Id: I5f967f6fe95a541868e360e1dd4b520fbf7d1074
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vyacheslav Cherkashin [Wed, 19 Nov 2014 18:51:17 +0000 (22:51 +0400)]
[IMPROVE] add support c++ to Makefile
Change-Id: Ib50645df0065f8b251886c584e36ef17640e8cdc
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Ruslan Soloviev [Wed, 26 Nov 2014 13:46:32 +0000 (16:46 +0300)]
[FEATURE] Add web profiling
Used libwebsockets, libjson
Setup probes (probe type 3):
ewk_context_inspector_server_start
JSC::ProfileGenerator::willExecute
JSC::ProfileGenerator::didExecute
Change-Id: I48b5223c67f3c7239484f5dcf6bbd895c9080b18
Signed-off-by: Ruslan Soloviev <r.soloviev@samsung.com>
Vitaliy Cherepanov [Tue, 18 Nov 2014 14:09:34 +0000 (17:09 +0300)]
[CLEAN] remove da_command
Change-Id: I2254ede172eed54c036994dc2b5c62b57fcd693b
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Alexander Aksenov [Tue, 18 Nov 2014 10:04:11 +0000 (13:04 +0300)]
[FIX] Add swap_retprobe.ko to start.sh/stop.sh
Change-Id: I9cf19ffbfde7e8b25f4434021be3d31e430de1f8
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 26 Mar 2014 12:44:19 +0000 (16:44 +0400)]
[IMPROVE] Implement different kind of probes
Now probe type is transferred right after the probe address, before the probe's
data.
Supported probe types:
0 - retprobe
1 - function body instrumentation probe
2 - preloaded API probe
Change-Id: Ie309e3f911619f3a1b4c821f1ad17932ce9f1c4d
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
(cherry picked from commit
7a76b43942410512a7f0d767121ae7433ca9bccd)
Dmitry Kovalenko [Thu, 13 Nov 2014 12:26:31 +0000 (04:26 -0800)]
Revert "[IMPROVE] Implement different kind of probes"
Still too early
This reverts commit
7a76b43942410512a7f0d767121ae7433ca9bccd.
Change-Id: Ia9cbf8e5cce27e1359856f54c91633d68742919c
Dmitry Kovalenko [Thu, 13 Nov 2014 12:21:29 +0000 (04:21 -0800)]
Merge "[IMPROVE] Implement different kind of probes" into prod_rel
Alexander Aksenov [Wed, 26 Mar 2014 12:44:19 +0000 (16:44 +0400)]
[IMPROVE] Implement different kind of probes
Now probe type is transferred right after the probe address, before the probe's
data.
Supported probe types:
0 - retprobe
1 - function body instrumentation probe
2 - preloaded API probe
Change-Id: Ie309e3f911619f3a1b4c821f1ad17932ce9f1c4d
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>