platform/core/system/swap-manager.git
9 years ago[FIX] startup profiling for basic app 36/41536/7
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>
9 years ago[IMPROVE] plt functions search 79/41379/1
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>
9 years ago[FIX] Building for TV 78/41378/1
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>
9 years agoMerge branch 'tizen_2.4_dev' into tizen_2.4 31/41231/1
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

9 years agoMerge branch 'tizen_2.4_pre' into tizen_2.4 18/41218/1
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

9 years ago[FIX] segmentation fault on replay events 99/40499/4
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>
9 years ago[FEATURE] native setup profiling implement 61/40961/5
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>
9 years ago[IMPROVE] create AppInst* 60/40960/3
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>
9 years ago[REFACTOR] move *.cpp files to daemon/cpp/ 59/40959/2
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>
9 years ago[REFACTOR] add process MSG_GET_TARGET_INFO function 15/40515/3
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>
9 years ago[FIX] search launched app by binary path 24/40124/2
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>
9 years ago[PROTO] Change binary ack message according to proto 4.0 37/39937/12
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>
9 years ago[REFACTOR] application msg ID 32/39932/9
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>
9 years ago[FIX] MSG_VERSION ack 31/39931/6
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>
9 years ago[IMPROVE] Preload: flexible initialization 04/41004/1
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>
9 years ago[REFACTOR] Preload probe type 78/39078/6
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>
9 years ago[FIX] prevents 47/40847/7 tizen_2.4_pre
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>
9 years ago[FIX] starting da_manager on TV 77/40877/1
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>
9 years ago[FIX] modules insertion in start.sh 66/40866/1
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>
9 years ago[FIX] MSG_SCREENSHOT unknown error code 38/40438/1
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>
9 years ago[FIX] build manager 73/40273/2
Vyacheslav Cherkashin [Mon, 1 Jun 2015 16:27:15 +0000 (19:27 +0300)]
[FIX] build manager

Change-Id: Ic922997b7a9039074a8318069efa333e70cb6d91

9 years ago[FIX] scripts/gen_wsi_prof.sh 72/40272/2
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>
9 years ago[FEATURE] web setup profiling implement 09/40009/4
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>
9 years ago[IMPROVE] create FeatureManager 08/40008/2
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>
9 years ago[FIX] SWAP_PRELOAD: Module is not initialized. 63/39663/1
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>
9 years ago[FIX] check containers (lightweight) 99/39499/1
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>
9 years ago[FEATURE] check containers (lightweight) 98/39498/1
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>
9 years ago[FIX] add strdup to malloc debug 79/39479/1
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>
9 years ago[FIX] malloc debug 78/39478/1
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>
9 years ago[FEATURE] check containers 57/39457/7
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>
9 years ago[FEATURE] FBI multi probing 65/38865/3
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>
9 years ago[FEATURE] FBI implement 61/38861/3
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>
9 years ago[PROTO] implement protocol version 4.0 35/38735/6
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>
9 years ago[FEATURE] set webprobe profiling 87/38687/14
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

9 years ago[FIX] prevent issues 79/39279/1
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>
9 years ago[FIX] prevent issues 06/39006/6
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>
9 years agoMerge branch 'tizen_2.4' into tizen_2.4_dev 91/38791/2
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

9 years ago[LICENSE] Change License string 23/38823/1
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>
9 years ago[FIX] prevent issues 26/38526/8
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>
9 years ago[FIX] buffer overflow 07/38007/1
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)

9 years ago[FIX] prevent issues 17/37917/4
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>
9 years ago[FIX] search launched app by binary path 64/37764/4
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>
9 years ago[FIX] buffer overflow 42/37542/1
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>
9 years ago[IMPROVE] init/uninit swap modules 53/36953/2
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>
9 years ago[IMPROVE] add use swap_master module 52/36952/1
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>
9 years ago[FIX] da_manager crash on msgcfg (tv emulator) 09/36409/1
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>
9 years ago[IMPROVE] Preload: add probe block_type support 74/34774/1 new_protocol
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>
9 years ago[FIX] da_manager lock file 95/34095/1
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>
9 years ago[FIX] Swap manager in TV emulator cannot be launched 01/33901/2
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>
9 years ago[IMPROVE] Add preload call type support 15/33815/1
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>
9 years ago[FIX] prevent issue 09/33809/2 master
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>
9 years ago[IMPROVE] Preload: getting caller address support 45/33745/1
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>
9 years ago[IMPROVE] Add data to be sent to modules 44/33744/1
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>
9 years ago[IMPROVE] Preload: write instumented binary filename 43/33743/1
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>
9 years ago[IMPROVE] Add preload collection types support 42/33742/1
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>
9 years ago[FEATURE] Remove native LD_PRELOAD 41/33741/1
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>
9 years ago[FEATURE] Add preload modules support 40/33740/1
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>
9 years ago[FEATURE] custom ld preload support 39/33739/1
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>
9 years ago[IMPROVE] New swap_retprobe module support 38/33738/1
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>
9 years ago[FIX] build for Tizen 2.4 26/33726/2
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>
9 years agoMerge branch 'master' into new_protocol 92/33492/1
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

9 years ago[FIX] spank spank 51/32751/1
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>
9 years ago[FIX] spank spank 57/31757/3
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>
9 years ago[FIX] MSG_BINARY_INFO daemon crash if file type is not ELF 47/32047/3
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>
9 years ago[IMPROVE] add support c++ to Makefile 57/30557/2
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>
9 years ago[FEATURE] Add web profiling 97/30397/7
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>
9 years ago[CLEAN] remove da_command 49/30449/1 prod_rel
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>
9 years ago[FIX] Add swap_retprobe.ko to start.sh/stop.sh 28/30428/1
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>
9 years ago[IMPROVE] Implement different kind of probes 74/30274/1
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)

9 years agoRevert "[IMPROVE] Implement different kind of probes" 73/30273/2
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

9 years agoMerge "[IMPROVE] Implement different kind of probes" into prod_rel
Dmitry Kovalenko [Thu, 13 Nov 2014 12:21:29 +0000 (04:21 -0800)]
Merge "[IMPROVE] Implement different kind of probes" into prod_rel

9 years ago[IMPROVE] Implement different kind of probes 73/25473/9
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>
9 years ago[FIX] prevent issue 58/30258/1
Vitaliy Cherepanov [Thu, 13 Nov 2014 10:41:10 +0000 (13:41 +0300)]
[FIX] prevent issue

|------------------------|-------------------|
| Type                   | Function          |
|------------------------|-------------------|
| Calling risky function | close_on_exec_dup |
| Calling risky function | remove_indir      |
|------------------------|-------------------|

Change-Id: I3bdd110fbbb7ac2abe049a2045e73b28b6917417
S-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] prevent 64/30164/1
Vitaliy Cherepanov [Wed, 12 Nov 2014 08:36:38 +0000 (11:36 +0300)]
[FIX] prevent

|-------------------------|------------------------|
| Type                    | Function               |
|-------------------------|------------------------|
| fd leak                 |initialize_log          |
|-------------------------|------------------------|

Change-Id: I104279bdc850725e2077bd55159001ad88d465f0
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] prevent 18/30018/1 Tizen_SDK_2.3
Vyacheslav Cherkashin [Fri, 7 Nov 2014 11:13:39 +0000 (15:13 +0400)]
[FIX] prevent

Change-Id: I09a05a7b78feb30055732a611b85f2283ac06cf9
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] smack access to screenshots 89/29989/4
Vitaliy Cherepanov [Thu, 6 Nov 2014 15:49:03 +0000 (18:49 +0300)]
[FIX] smack access to screenshots

Change-Id: Id730f25562aa733079f2fc3105a6962410f50ba2
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] remove (clean) log file on daemon start 51/29751/1
Vitaliy Cherepanov [Mon, 3 Nov 2014 19:48:28 +0000 (22:48 +0300)]
[FIX] remove (clean) log file on daemon start

Change-Id: I9de7720f7eb454ea7bd3769e4ffcaa5104f2b35a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] prevent issue 48/29748/1
Vitaliy Cherepanov [Mon, 3 Nov 2014 18:06:22 +0000 (21:06 +0300)]
[FIX] prevent issue

|-------------------------|------------------------|
| Type                    | Function               |
|-------------------------|------------------------|
| dead code               |get_device_network_type |
|-------------------------|------------------------|

Change-Id: Ifadbf78d32f2535cd7d477f9278cd9ed51fbcdb4
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] prevent issue 41/29741/1
Vitaliy Cherepanov [Mon, 3 Nov 2014 15:38:03 +0000 (18:38 +0300)]
[FIX] prevent issue

|-------------------------|----------------|
| Type                    | Function       |
|-------------------------|----------------|
| Resource leak           | initialize_log |
| Resource leak           | initialize_log |
|-------------------------|----------------|

Change-Id: I174970e06d4472c7ded0b5509846311f36fc099f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] Change SMACK64IPOUT flag (* -> @) 06/29706/1
Dmitry Kovalenko [Sat, 1 Nov 2014 09:58:03 +0000 (12:58 +0300)]
[FIX] Change SMACK64IPOUT flag (* -> @)

With * connection from ld lib to manager fails in kernel
with EACCESS error code and description:
"A star subject can’t access any objects"

Change-Id: I2a43ff2b8a34e0be9d3f849d226594bb607bf96a
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
10 years ago[FIX] redirect stderr to /dev/null 81/29681/1
Vitaliy Cherepanov [Fri, 31 Oct 2014 14:05:02 +0000 (17:05 +0300)]
[FIX] redirect stderr to /dev/null

Change-Id: I90c4658ca742a2170cbe070e6cdce44955b1e019
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] MD5 sum in MSG_BINARY_ACK 00/29600/2
Vitaliy Cherepanov [Thu, 30 Oct 2014 09:18:46 +0000 (12:18 +0300)]
[FIX] MD5 sum in MSG_BINARY_ACK

Change-Id: Ie5b8420a255577c355914c1c50748d943e45ca83
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[STYLE] add spaces after "=" in ErrorCode enum 82/29182/4
Vitaliy Cherepanov [Wed, 22 Oct 2014 08:40:07 +0000 (12:40 +0400)]
[STYLE] add spaces after "=" in ErrorCode enum

Change-Id: Idb1bd0767ee420ca22835d028e1039adcc52ae95
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[CLEAN] remove swap_ks_manager from start/stop scripts 15/28815/3
Vitaliy Cherepanov [Thu, 16 Oct 2014 11:07:44 +0000 (15:07 +0400)]
[CLEAN] remove swap_ks_manager from start/stop scripts

Change-Id: I51c3ab930fdbecfe3d3bf47016ffb8a9fed54708
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] error codes ack 79/29179/1
Vitaliy Cherepanov [Wed, 22 Oct 2014 08:04:33 +0000 (12:04 +0400)]
[FIX] error codes ack

Change-Id: I414078a596445d4a362da3134615c40e7e9580b0
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] prevent issues 03/29103/2
Vitaliy Cherepanov [Tue, 21 Oct 2014 11:24:35 +0000 (15:24 +0400)]
[FIX] prevent issues

|-------------------------|--------------------------------|
| Type                    | Function                       |
|-------------------------|--------------------------------|
| Calling risky function  | get_partition_sector_size      |
| Calling risky function  | find_pid_from_path             |
| Calling risky function  | wake_up_buf                    |
| Calling risky function  | flush_buf                      |
| Calling risky function  | kill_app                       |
| Calling risky function  | ioctl_send_msg                 |
| Calling risky function  | write_to_buf                   |
| Calling risky function  | sendACKToHost                  |
| Calling risky function  | get_max_brightness             |
| Calling risky function  | send_reply                     |
| Calling risky function  | start_profiling                |
| Calling risky function  | open_tasks_dev                 |
| Calling risky function  | _get_fds                       |
| Calling risky function  | open_buf_ctl                   |
| Calling risky function  | init_brightness_status         |
| Calling risky function  | get_other_pid_array            |
| Calling risky function  | exit_buf                       |
| Calling risky function  | init_buf                       |
| Calling risky function  | update_thread_data             |
| Calling risky function  | transfer_thread                |
| Calling risky function  | parse_proc_smaps_file_bypid    |
| Calling risky function  | parse_proc_stat_file_bypid     |
| Calling risky function  | update_process_data            |
| Calling risky function  | update_system_cpu_frequency    |
| Calling risky function  | get_device_network_type        |
| Calling risky function  | binary_ack_pack                |
| Calling risky function  | feature_code_str               |
| Calling risky function  | find_alternative_bin_path      |
| Calling risky function  | exec_app_common                |
| Calling risky function  | dereference_tizen_exe_path     |
| Calling risky function  | is_same_app_process            |
| Calling risky function  | makeTargetServerSocket         |
| Calling risky function  | host_message_handler           |
| Calling risky function  | targetServerHandler            |
| Calling risky function  | suffix_filename                |
| Calling risky function  | check_input                    |
| Calling risky function  | get_process_cmd_line           |
| Calling risky function  | get_lpad_pid                   |
|-------------------------|--------------------------------|

Change-Id: Ia50a7c4b4dc4a35ea11266a4dbdae7b522b1df94
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] prevent issues 46/28946/5
Vitaliy Cherepanov [Fri, 17 Oct 2014 10:32:01 +0000 (14:32 +0400)]
[FIX] prevent issues

|------------------------|-------------------|
| Type                   | Function          |
|------------------------|-------------------|
| Unchecked return value | close_on_exec_dup |
| Resource leak          | get_file_md5sum   |
| Resource leak          | get_cpu_frequency |
|------------------------|-------------------|

Change-Id: I292642b8d85f33f87907a9f06cdca76c39832007
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[IMPROVE] add da_command killvalgrind to kill valgrind process. 27/28827/2
JuYoung Kim [Thu, 16 Oct 2014 13:39:41 +0000 (22:39 +0900)]
[IMPROVE] add da_command killvalgrind to kill valgrind process.

Change-Id: Ie174c732ffdf941d812c2c348fa6a1c588196c1b
Signed-off-by: JuYoung Kim <j0.kim@samsung.com>
10 years ago[LICENSE] Move APLv2 license file to LICENSE 03/28703/3
Dmitry Kovalenko [Tue, 14 Oct 2014 09:29:28 +0000 (13:29 +0400)]
[LICENSE] Move APLv2 license file to LICENSE

Change-Id: I85f88e549934a57adefc2e51fc3656c4bd2ed22c

10 years ago[FIX] MSG_GET_PROCESS_ADD_INFO_ACK error code 65/28665/1
Vitaliy Cherepanov [Mon, 13 Oct 2014 15:06:24 +0000 (19:06 +0400)]
[FIX] MSG_GET_PROCESS_ADD_INFO_ACK error code

wrong error code returns on success get process additional info

Change-Id: Ic890c6cbf97bbfde384d39b73f802bbcdb1ddba0
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] prevent issues 14/28614/1
Vitaliy Cherepanov [Fri, 10 Oct 2014 13:27:44 +0000 (17:27 +0400)]
[FIX] prevent issues

Change-Id: I1cde206e7ffe470399c7d4a0ae2e090409160210
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] prevent issues 11/28211/6
Vitaliy Cherepanov [Tue, 30 Sep 2014 09:35:37 +0000 (13:35 +0400)]
[FIX] prevent issues

| Type                       | Function                         |
| String not null terminated | get_process_cmd_line             |
| Resource leak              | initialize_log                   |
| Resource leak              | update_thread_data               |
| Resource leak              | parse_lib_inst_list              |
| Resource leak              | parse_app_inst_list              |
| Resource leak              | get_build_dir                    |
| Resource leak              | process_msg_get_process_add_info |
| Resource leak              | process_msg_get_process_add_info |
| Resource leak              | process_msg_get_process_add_info |
| Out-of-bounds access       | parse_replay_event               |
| Out-of-bounds access       | parse_replay_event               |

Change-Id: I201baf8042a008e41a8f12f699b7a64740fe3e24
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] replay event in start message 07/28107/2
Vitaliy Cherepanov [Fri, 26 Sep 2014 07:51:34 +0000 (11:51 +0400)]
[FIX] replay event in start message

Increase max msg size.
Add ACK msg on error.
Add msg body read from socket on err (too long msg and memory alloc err)

Change-Id: If5c2ad8d281d610dbf0af6d67b764bbbf0b6bc03
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] sync start/stop target communication thread 96/27896/2
Vyacheslav Cherkashin [Mon, 22 Sep 2014 13:29:21 +0000 (17:29 +0400)]
[FIX] sync start/stop target communication thread

Change-Id: I91f619ce162096d5dc8453ac8fbf8d35555b1075
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] replay events 35/27735/1
Vitaliy Cherepanov [Thu, 18 Sep 2014 10:17:35 +0000 (14:17 +0400)]
[FIX] replay events

replay events feature does not work

Change-Id: Ide5bd4322d49228f669de01bd9d87ecac3545638
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] CPU load value less then application cpu load 72/27672/2
Vitaliy Cherepanov [Wed, 17 Sep 2014 10:03:41 +0000 (14:03 +0400)]
[FIX] CPU load value less then application cpu load

Change-Id: I8b119292a3b8d3de605f776c1a14750fae9f8364
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] deadlock 46/27346/1
Vitaliy Cherepanov [Thu, 11 Sep 2014 11:44:04 +0000 (15:44 +0400)]
[FIX] deadlock

Change-Id: I09dad6d383ee2dd5a94b4bc24aad70b200386e5b
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] Prevent issue 70/27070/3
Dmitry Kovalenko [Thu, 4 Sep 2014 05:37:06 +0000 (09:37 +0400)]
[FIX] Prevent issue

Change-Id: I23746faee962765b5f8e0483e5989898a1cfe4e7
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
10 years ago[FIX] calculation app_type 49/27049/1
Vyacheslav Cherkashin [Wed, 3 Sep 2014 14:38:19 +0000 (18:38 +0400)]
[FIX] calculation app_type

Change-Id: I922c141c7ee213140aa143910be8371e6ef96fab
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[REFACTOR] encapsulate target struct (part 1) 33/27033/2
Vyacheslav Cherkashin [Mon, 1 Sep 2014 13:40:34 +0000 (17:40 +0400)]
[REFACTOR] encapsulate target struct (part 1)

Change-Id: I783e3dc9c369af7c663261a941f11bc5ac1fc11f
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>