Alexander Aksenov [Mon, 9 Oct 2017 16:46:04 +0000 (19:46 +0300)]
Fix void wrappers declaration
Change-Id: I59b29cbc79ce22b1dfa6e3eaf2666d9c5994833f
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 4 Oct 2017 19:20:31 +0000 (22:20 +0300)]
Refactor recv_thread
Change-Id: I2159b02c311e9d07dd17a6cb48318d38b7fc9ce4
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vitaliy Cherepanov [Fri, 15 Sep 2017 16:03:41 +0000 (19:03 +0300)]
Add md5 lib checker
Change-Id: I0f632523ce278bd74e1c1f80c7dafd44b0c5d188
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Fri, 10 Nov 2017 07:42:37 +0000 (10:42 +0300)]
LSAN: add error message
Add error message if lsan enabled but alloc always feature disabled
Change-Id: I4770838fc8b2b35bf2f23e6e6b4e9712b4bcae80
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Thu, 9 Nov 2017 07:11:43 +0000 (10:11 +0300)]
Improve preload memory api performance
Create message buffer on stack
Activates by enabling BUF_ON_STACK_FOR_MEMPROBE in Makefile
Disabled by default
Change-Id: I7b1e1ef1e31a1460780f3b8f72d0c60f2d58b800
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vyacheslav Cherkashin [Mon, 6 Mar 2017 11:48:14 +0000 (14:48 +0300)]
elf_parser: fix PLT functions support for ARM
Change-Id: Icaa4da3c3d75254d8ec880ab8ab3742cf054ffaa
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 23 Oct 2017 11:31:18 +0000 (14:31 +0300)]
Fix screenshot on scene transition feature
Change-Id: I66b9d8292df7579d6d290b97db76ef5b281cca5e
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 23 Oct 2017 10:34:10 +0000 (13:34 +0300)]
Use proper value for FL_UI_VIEWER_PROFILING feature
Change-Id: Ib70082a2d8e4849689405a645d81b454b246e65a
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 17 Oct 2017 09:29:15 +0000 (12:29 +0300)]
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: I9c678a8c2728c2fd5f808c74c2da38bdb888edfd
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Dmitry Kovalenko [Fri, 13 Oct 2017 09:12:36 +0000 (12:12 +0300)]
Fix issues found by static analysis tool
elf_impl.cpp: Copy-paste error
elfxx.h: Unintended sign extension
dahelper.c: Out-of-bounds access
Change-Id: I05cc1a83340e581796cd2666da0e47f1a7ca3119
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vyacheslav Cherkashin [Thu, 12 Oct 2017 13:59:46 +0000 (16:59 +0300)]
ui_event: move initialization to ui_app_main handler
ecore_wl_init() now executed before it is patched
Change-Id: I24d721adf9a4716ba723b2c358a2f42716ab6480
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 12 Oct 2017 12:51:06 +0000 (15:51 +0300)]
capi: use multiprobe
Change-Id: I91d75d5026719834216f635ceae2128c561ff66c
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 12 Oct 2017 09:36:15 +0000 (12:36 +0300)]
Implement multiprobe
Change-Id: Ib2a0ef8a5961941686d1dbbc2c44ab46d2f62d1b
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Dmitry Kovalenko [Tue, 10 Oct 2017 11:51:14 +0000 (14:51 +0300)]
Don't build for usupported targets
Change-Id: Ibe4abea8df6952a78d78149e27eededa08a19940
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Dmitry Kovalenko [Tue, 10 Oct 2017 08:40:55 +0000 (11:40 +0300)]
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: I1727513fcb533d3b54149c3ce0cb2ed043e49407
Dmitry Kovalenko [Tue, 10 Oct 2017 08:40:25 +0000 (11:40 +0300)]
Put proper license header to file_buffer.c|h
Change-Id: Iea107e031e613e640de9832b6566cc2beacde130
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vitaliy Cherepanov [Thu, 5 Oct 2017 15:13:36 +0000 (18:13 +0300)]
UIHV: Fix UIHV library loading
Change-Id: I2cbd2a35093d50a3dc8e3afd82bc5a687d8f5d91
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Dmitry Kovalenko [Tue, 3 Oct 2017 06:11:28 +0000 (09:11 +0300)]
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: I19aee737b1a6ddcc386173134a999ab386206f60
Vyacheslav Cherkashin [Thu, 28 Sep 2017 08:50:32 +0000 (11:50 +0300)]
lsan: fix leaks suppression
LSan cannot build backtrace when works with SWAP.
So don't check for reachability.
Change-Id: Ifa0a01b83f8167ae37bd52c29a631ba326a53a82
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vitaliy Cherepanov [Thu, 8 Dec 2016 13:22:26 +0000 (16:22 +0300)]
lsan: save mapped address instead of original addr
Addresses returned by allocation funcitons should be changed
before saving to library hash because of
lsan search addresses in process memory
Change-Id: Icd197343826c1cfec19d406858e676622ebc8794
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vyacheslav Cherkashin [Tue, 19 Sep 2017 15:58:38 +0000 (18:58 +0300)]
uihv: fix typo
Change-Id: If654e06fd57fdd3a7d282bdd1af304d1cc436f2e
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Dmitry Kovalenko [Tue, 26 Sep 2017 15:52:21 +0000 (18:52 +0300)]
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: Iea2a9fd71ff37becacbd2e45e3746fbc94eab2cd
Vyacheslav Cherkashin [Tue, 26 Sep 2017 13:51:13 +0000 (16:51 +0300)]
lsan: add report sending to manager for storing it
Change-Id: I22786832e35c010e700f33bffaef6d838e0ca686
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 22 Sep 2017 16:08:45 +0000 (19:08 +0300)]
Implement 'file_buffer'
It is used to read data from file to file_buffer struct
Change-Id: I1dbb6b76850d21b7e36b8d69e2f70fb6c0e71efd
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Alexander Aksenov [Wed, 20 Sep 2017 16:34:32 +0000 (19:34 +0300)]
Add dummy assembly funcs for in-swap probes
Change-Id: I1767e2de8f45c33b871543c879528e29a54ee689
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Fri, 22 Sep 2017 09:54:20 +0000 (12:54 +0300)]
Add add_binary() wrapper
Change-Id: I4727174d416112a502782e12b81f8841c49f20dc
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 19 Sep 2017 10:00:50 +0000 (13:00 +0300)]
Provide process_features() interface
Now it should be called only when new target bins received or
by call from kernel.
Change-Id: Ie21a637ec4e0ff82a8fcc4d6058b8887e47057c7
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 19 Sep 2017 09:59:09 +0000 (12:59 +0300)]
Fix orig address checking
Change-Id: Ib7c3cbf6850605ea2c5e54940bf749b8585b3a77
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 13 Sep 2017 18:37:35 +0000 (21:37 +0300)]
Make linux-gate flexible
Change-Id: I2963e844842edbd81b5c2c1f6fda297c36750332
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 13 Sep 2017 18:20:30 +0000 (21:20 +0300)]
Fix incorrect error message
Change-Id: Id67cb9a9692c977a8fdee23d972aa7a3709ade5a
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 20 Sep 2017 11:40:30 +0000 (14:40 +0300)]
Make log file only rw for other users
Change-Id: I1147a5d4e9361db4bb64c1ca3f4e9183bc0a225d
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vitaliy Cherepanov [Wed, 13 Sep 2017 11:12:52 +0000 (14:12 +0300)]
Fix elfparser build
Change-Id: Ib082519449d8a42914b15f785fb62cdd5353f8f8
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Dmitry Kovalenko [Tue, 12 Sep 2017 08:31:01 +0000 (11:31 +0300)]
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: I707bf2f7638ad8402bbbb442457b1edb46873916
Vitaliy Cherepanov [Fri, 8 Sep 2017 14:17:29 +0000 (17:17 +0300)]
Fix SVACE issue
add bounds checking to process_target_bins
Change-Id: I517306a4479e277b5f8ea2289f14373f253ec8ab
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vyacheslav Cherkashin [Fri, 1 Sep 2017 11:55:33 +0000 (14:55 +0300)]
Fix SVACE issue
- class members aren't initialized
Change-Id: I1bf3116b12bb4e7207e84a794847d88dec2e804a
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 25 Aug 2017 11:49:49 +0000 (14:49 +0300)]
Move /tmp/* to /run/swap/*
Rename file:
/tmp/da.socket --> /run/swap/lib.socket
Other files only move:
/tmp/* --> /run/swap/tmp/*
Change-Id: Ib14754af2502dc77b47b0a465c906469dd9cb199
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Dmitry Kovalenko [Tue, 15 Aug 2017 08:38:29 +0000 (11:38 +0300)]
Fix unhandled malloc errors
Change-Id: I35f09fd4aab988dbd174d079475a46ba44e27a10
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vyacheslav Cherkashin [Tue, 2 May 2017 15:06:28 +0000 (18:06 +0300)]
Fix close socket (probe - manager) after stop
Change-Id: Ie95542d27fee0f8fb42c89c7d5fe00428b3ace99
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 21 Aug 2017 14:24:37 +0000 (17:24 +0300)]
Fix socket message handling
Change-Id: I8242a9e1b1168133ae347dc8c3d2669d78975cde
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Dmitry Kovalenko [Mon, 14 Aug 2017 08:41:28 +0000 (11:41 +0300)]
Add -fpie and -pie option (ASLR)
Change-Id: Ic36375fce45805cdc72d73f2a0005f34da7453e6
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Alexander Aksenov [Wed, 14 Jun 2017 11:34:08 +0000 (14:34 +0300)]
Fix GOT double patching
Now if entry in GOT points into SWAP libraries, it won't be
patched again.
Change-Id: I0659dd820a89f35694ab8f7108060a2f3e1085d0
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Dmitry Kovalenko [Wed, 14 Jun 2017 07:35:03 +0000 (10:35 +0300)]
Fix memory leak in screenshot feature
Change-Id: I579a2546bd7630b7b1d7b8ef65d57379e7c0568a
Dmitry Kovalenko [Fri, 9 Jun 2017 05:31:48 +0000 (08:31 +0300)]
Merge branch 'tizen_3.0_dev' into tizen
Change-Id: I1e8a4079635a3939f8c08742dbe80d3236d67ae7
Dmitry Kovalenko [Thu, 25 May 2017 12:14:12 +0000 (15:14 +0300)]
Fix build warning (unnecessary escape char in awk)
Change-Id: I336a2f955584782b9741954fce906ab2b3619aa7
Alexander Aksenov [Thu, 4 May 2017 12:04:49 +0000 (15:04 +0300)]
Fix probe lib data generation
Change-Id: I1dd56e7f91525deb1acfe5e08286761a624233c4
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 7 Mar 2017 18:34:59 +0000 (21:34 +0300)]
Probe generation definitions refactor
Change-Id: Iba97cb165afe432f6f1968265e7ede4c9fbc280e
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 6 Feb 2017 12:45:10 +0000 (15:45 +0300)]
Fix probes header generation
- structure name includes full library path, not only
basename;
- pluses replaced with '_'
Change-Id: I30c9556298a9562faf48db9ddabc4b6a18cf2210
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 23 Jan 2017 18:09:28 +0000 (21:09 +0300)]
Add different handler libs handling
This commit is related with same name commits in swap-manager
and swap-modules.
Change-Id: I89e99ab1dcc8d1326c9e655c1d530960896a889f
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 23 Jan 2017 12:22:32 +0000 (15:22 +0300)]
Add preload features loading support
- libraries loading is splitted from GOT patching;
- now libraries loaded also for preload features
Change-Id: Ief02a7f0ee105d33b4f2e6ec25cd997fe4eb00e1
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 19 Jan 2017 12:24:50 +0000 (15:24 +0300)]
Support the whole 128 feature's bits in library.
It will be useful to load libraries for preload features,
because they are on the last 64 bits of features now.
Also, features are passed as integers, not as string as before.
This commit is related with swap-manager commit of the same
name.
Change-Id: I4b51dd16cff64a9bdfccc35700298f558836d71c
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 17 Jan 2017 12:48:27 +0000 (15:48 +0300)]
Change dlsym flags
RTLD_NEXT -> RTLD_DEFAULT. Library loading time is unpredictable,
so target symbol can be anywhere in linker list and this lead to
real func searching fails somethimes. Our probes
have not the same name as target functions so, it is good and
safety to use RTLD_DEFAULT instead of RTLD_NEXT.
Change-Id: I7900631e2edefc5e5e6f5bfd922e3974a7a37ac8
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 13 Dec 2016 16:59:34 +0000 (19:59 +0300)]
Cleanup code
- remove comments that were related to GOT patcher's Preload
supporting
- function isNotFiltOptionEnabled() never used
- unused _sopt variable from da_egl_tizen.cpp
- OPT_* features replaced with FL_*
- remove unused defenitions from daprobe.h
Change-Id: Ie7a17d6990f1bb1dae082164001a0067dfad5bb2
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 13 Dec 2016 12:09:54 +0000 (15:09 +0300)]
Add separated Preload features
- now all preload-related features are in feature_code_1, so
it is written after generation now;
- enable feature headers generation.
- support Preload headers generation in gen_headers
Related with swap-manager commit
Change-Id: Ieca42b27b8a1d0e71dc2eb66701c2081d35869f0
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 13 Dec 2016 10:02:25 +0000 (13:02 +0300)]
Preload: searching special wrappers for kernel calling
Now special wrappers for kernel calling are used, so their
addreeses are searched.
Change-Id: I1cb28ee6c7d465abedadf5a39c14ef10224f5f1f
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 6 Dec 2016 16:15:59 +0000 (19:15 +0300)]
Preload: Add orig field pointer passing to kernel
Since preload implementation there field with originally
called API address has arrived, it should be send in each
probe message. When probe handlers called via preload
mechanism we cannot get this information in user-space, so
this field left zero and its address is passed to kernel
for filling here.
This commit is related with swap-modules commit with the
same name.
Change-Id: I713c825070718b1c4922d4ee7e6f4f5354b381a0
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 6 Dec 2016 14:39:21 +0000 (17:39 +0300)]
Refactor probes with variable arguments
Now there is special definition for such probes wrappers
Change-Id: I8a04f49ed0f6d971b654472909b486e5cf987896
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 5 Dec 2016 11:20:47 +0000 (14:20 +0300)]
Remove dead code defenitions from da_socket.h
Change-Id: I8ad1ed463f70770f0deae7fcc94e38fbefce8cf4
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 1 Dec 2016 17:21:50 +0000 (20:21 +0300)]
Add kernel called wrappers for probes
Previously to the handler themselves data variables were passed.
It was not scalable and difficult to maintain. Now these
variables replaced with structure that contains this data. This
makes passing data more flexible and reduces stack usage on some
platforms.
Also it separates original address (address where probe has
fired) and exec address (pointer to function that should be
executed). It was done because of a great difference between
GOT patcher-based handling and Preload-based: in the second
case we have no avaliable information in user-space about
caller, call_type and original address and exec address
is the result of a dlsym() search while in the first case
we know everything in userspace.
Change-Id: Ib47fa1e655c5f820fdefacea7bd8e85765e62b8c
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 1 Dec 2016 14:41:31 +0000 (17:41 +0300)]
Preload: add support at probes saving
Now writing messages flexibly supproting both GOT patcher
and Preload
Change-Id: I7d263f1f9a7dc646fe604202e3d90fa7e2dace3f
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 1 Dec 2016 12:49:52 +0000 (15:49 +0300)]
Replace TYPE_AND_INFO with TARGET_BINS message
Now type of preload is not send
Related with swap-probe commit
Change-Id: I75953a9a9b19f78a10de5faa7a7722da89a45322
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 15 May 2017 13:10:22 +0000 (16:10 +0300)]
Code style fix
Change-Id: I0162eae75320bc265f03fd2933655ab9ca7b7ed5
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 31 May 2017 09:52:24 +0000 (12:52 +0300)]
Make splitted profiler's libs ignored
Change-Id: I54452384bb745e085dad52aa6d7b56ed5999a55e
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Dmitry Kovalenko [Thu, 25 May 2017 12:14:12 +0000 (15:14 +0300)]
Fix build warning (unnecessary escape char in awk)
Change-Id: I336a2f955584782b9741954fce906ab2b3619aa7
Dmitry Kovalenko [Fri, 28 Apr 2017 06:52:02 +0000 (09:52 +0300)]
Merge branch 'tizen_3.0_dev' into tizen
Change-Id: Id2eb82d452cddaf91b62e0e9ce0dd0d9aa5c41a1
Vyacheslav Cherkashin [Thu, 20 Apr 2017 13:52:46 +0000 (16:52 +0300)]
Move screenshot storing to manager
Change-Id: Id31ba8135075c4f265819f4ecb2f3525686f78b1
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Alexander Aksenov [Tue, 18 Apr 2017 13:40:03 +0000 (16:40 +0300)]
Remove useless check
Change-Id: I519c0d2488325f3eee07398476b213616732a13a
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 18 Apr 2017 13:10:12 +0000 (16:10 +0300)]
Add error message on libraries loading fail
Change-Id: I2a24532f5723d0af4dbb2332bd53c39e74ae0b82
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Dmitry Kovalenko [Wed, 29 Mar 2017 15:45:56 +0000 (18:45 +0300)]
Workarround hw specific screenshot issue
Qualcom devices has 16 pixel padding on right side
So display driver has screen_width+16 width
This workarround detects padding (as black pixels on the right)
Change-Id: I4aa5eea216cee561b19086ee8aa03ce6d8d5a8aa
Dmitry Kovalenko [Mon, 27 Mar 2017 07:15:57 +0000 (10:15 +0300)]
Rework license file creation for packages
Change-Id: Ia0be79eb837797f5a0e8c2206b9803aa3fcbf41a
Alexander Aksenov [Tue, 24 Jan 2017 16:38:37 +0000 (19:38 +0300)]
Fix subsequent type and info messages handling
Change-Id: I75ec9ed2c744d0a9fa1dd691e5bdbb9ee8bd6d4b
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Dmitry Kovalenko [Mon, 27 Mar 2017 07:15:57 +0000 (10:15 +0300)]
Rework license file creation for packages
Change-Id: Ia0be79eb837797f5a0e8c2206b9803aa3fcbf41a
Dmitry Kovalenko [Thu, 23 Mar 2017 09:08:44 +0000 (12:08 +0300)]
elf_parser: fix big file opening
Change-Id: Id1c1f678a6e2ff5b97a1a1d1867f5832ad29f694
Slava Barinov [Thu, 9 Mar 2017 08:44:30 +0000 (11:44 +0300)]
Add run-time RTLD name detection to build with any Glibc.
Change-Id: Ifc8f7a2294a84d308c7a7b9924fa9ec39a0b8348
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
Alexander Aksenov [Wed, 18 Jan 2017 13:27:19 +0000 (16:27 +0300)]
Load screenshot library on screenshot request
Previously it was loaded only on screenshot feature set.
Change-Id: Ief460da9be3d8068d110733c8139286e44db3a18
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vyacheslav Cherkashin [Fri, 27 Jan 2017 15:00:04 +0000 (18:00 +0300)]
add test for _da_call_original()
Change-Id: Iaffa14dcdee204a0ed89aadd8c8fbd9e774eb1aa
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 26 Jan 2017 14:22:22 +0000 (17:22 +0300)]
ARM64: implement _da_call_original()
Change-Id: Ied848ffe9bce6940768f03ef47576ca535aae12f
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 16 Jan 2017 12:40:28 +0000 (15:40 +0300)]
Port da_gles30_native.cpp to aarch64
Change-Id: I375c0d35f82ec496dd6949b34cff24eb2150a65d
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 12 Dec 2016 11:33:56 +0000 (14:33 +0300)]
elf_parser: add plt support for AARCH64
Change-Id: Ie839952128c7ed10160dfe0325c8c3fd5dcd99cf
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 29 Nov 2016 15:33:56 +0000 (18:33 +0300)]
Add support 64-bits for api_names.txt
Replace hardcode "lib" path by "__lib_prefix__".
Change-Id: I645119146762e45ec3e276cf63b9949f475f7d21
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 29 Nov 2016 08:43:22 +0000 (11:43 +0300)]
Port installing dirs to 64-bit
use %{_bindir}, %{_libdir}, %{_includedir} instead of hardcode paths
Change-Id: I9da8e5eaf3a765c38ee6204ce5395f8dbdccd0bf
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 21 Nov 2016 08:31:44 +0000 (11:31 +0300)]
Add support build for AARCH64
Change-Id: I89e347b5ffd2074c11788f7fa91459ba5b0d37e1
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 29 Nov 2016 08:47:49 +0000 (11:47 +0300)]
Remove libdaprobe.so
Change-Id: If878e987f3ea8f6dddfb3bbfa5fd45a4171ed1e4
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 28 Nov 2016 15:10:24 +0000 (18:10 +0300)]
Remove unused code
Change-Id: I81499b367c81643d2a1b9dae333f79005a387629
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 16 Nov 2016 12:06:26 +0000 (15:06 +0300)]
elf_parser: redesign
Innovations:
- rewrite parsing elf file on C++
(parsing 32-bits and 64-bits have native common code)
- add 64-bits support
- new interface libparserelf.so
Update prebuild files: libparserelf_x86.so and libparserelf_x86_64.so.
To prepare ones use the following:
# patchelf --set-rpath /emul//usr/lib libparserelf_x86.so
# patchelf --set-rpath /emul//usr/lib64 libparserelf_x86_64.so
Change-Id: I034b187c1a4fdb28b132278d23d8954dc790edb1
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 15 Nov 2016 12:36:48 +0000 (15:36 +0300)]
elf_parser: add warnings flags
and fix build
Change-Id: I507e084f18b2d36c9eec71fec7e8956fce9715db
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 15 Nov 2016 12:35:34 +0000 (15:35 +0300)]
elf_parser: add Makefile
Split Makefile on Makefile and elf_parser/Makefile
Change-Id: I0fae040ceec35b3c12a005bcbc37f18f2d0e4930
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 14 Nov 2016 13:12:39 +0000 (16:12 +0300)]
Change caller type
To support ARM64
Change-Id: Id76f93a21e8e4d0d1e8bd99024bf2b6a201ed980
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 14 Nov 2016 13:08:31 +0000 (16:08 +0300)]
Port KHASH_MAP_INIT_VOIDP() to arm64
Change-Id: I7654d0b30019a3078a6471cc9b429536b08264f0
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 14 Nov 2016 12:37:35 +0000 (15:37 +0300)]
Remove unused code
Clean deadcode from:
include/dacollection.h
helper/dacollection.c
Change-Id: Ieb3c089248128329b76987e5def602b243bbc215
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 17 Oct 2016 17:02:51 +0000 (20:02 +0300)]
Fix store to unaligned address
Because "strd" and "ldrd" can works with only aligned access,
we do not allow compiler (ARM) use "strd" instructinos
for saving uint64_t values.
Change-Id: I72d0022898d1c656860d08b654232fd7edb0556e
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Alexander Aksenov [Fri, 13 Jan 2017 09:23:38 +0000 (12:23 +0300)]
Replace dlopen() with manually searching link_map
dlopen() leads to running library constructors and other related
stuff which can be undesirable. Now link_map structures are
searched by iterating list of link_maps in _r_debug
Change-Id: Ic9d626cd600fc6596f503c57a765efb7a4740dca
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 29 Dec 2016 13:17:01 +0000 (16:17 +0300)]
Screenshot feature add
Previously it was a part of da_probe_tizen.so, but it was
removed to reduce da_probe_tizen library dependencies.
Change-Id: Ib0cc057a2d6bb87d51b12042555421132b354fea
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 28 Dec 2016 12:42:19 +0000 (15:42 +0300)]
Split screenshots into separate lib
Change-Id: If2fb7b5b649e07cfb9f342b2d8b8d52586a787a6
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 29 Dec 2016 13:04:25 +0000 (16:04 +0300)]
Remove unused declarations from dacapture.h
Change-Id: I1f5403d8a20e7960756e1a082a642e876bc2cc04
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 27 Dec 2016 16:44:32 +0000 (19:44 +0300)]
Remove unused dependencies
Change-Id: Ia9b8c514bf12cd135bd06b60c8f47238c501954d
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 27 Dec 2016 11:50:09 +0000 (14:50 +0300)]
Split graphics, ui and capi probes into separate libs
Change-Id: Ib73f16b6fb2f554042bb8d377f2faa41af23ae89
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 27 Dec 2016 11:57:52 +0000 (14:57 +0300)]
Remove real_functions.c/h
It was legacy mechanism for working with native LD_PRELOAD.
Change-Id: I738cbbbc5e3ce77a3d6039341fbbb7d2745787a4
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Gihun Chang [Mon, 2 Jan 2017 07:11:07 +0000 (16:11 +0900)]
Remove the dependency to debug repository
Change-Id: I7c151372471963c70c22eaa9c8ca37f29c07f03c
Anatolii Nikulin [Tue, 27 Dec 2016 15:40:56 +0000 (18:40 +0300)]
Destroy wayland queue using for capturing screenshots
Change-Id: I9ce1f29ef8cd13e626e57cb2037e3bdd3bfd82c4
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Vitaliy Cherepanov [Tue, 27 Dec 2016 08:08:26 +0000 (11:08 +0300)]
Fix memleak in add_binary and remove_binary
Change-Id: I5ffe57492cfd6cf6b8117c9d80bac298191d51f0
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>