summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-07-04Fix SVACE warnings 217142, 217143, 217144tizen_9.0_m2_releaseaccepted/tizen/unified/x/asan/20240813.225824accepted/tizen/unified/x/20240724.011808accepted/tizen/unified/toolchain/20240812.131549accepted/tizen/unified/dev/20240724.110147accepted/tizen/unified/20240724.005731accepted/tizen/9.0/unified/20241030.234046tizen_9.0tizenaccepted/tizen_unified_x_asanaccepted/tizen_unified_xaccepted/tizen_unified_toolchainaccepted/tizen_unified_devaccepted/tizen_unifiedaccepted/tizen_9.0_unifiedMateusz Moscicki4-16/+6
Change-Id: I21f75e7798cc469ff71cca7d7964e4e93dcae54d
2024-03-08Fix a possible bug which can incur integer overflowaccepted/tizen/unified/x/20240313.092046accepted/tizen/unified/dev/20240620.010930accepted/tizen/unified/20240311.170344Sung-hun Kim1-2/+18
Since off64_t is a signed 64-bit integer while Elf64_Off is unsigned long long, assign Elf64_Off-typed value to an off64_t argument can make a integer overflow. By adding a specific function for unsigned long long type, this possible bug can be fixed. This patch fixes a coverity issue (cid: 1758248). Change-Id: I86fbf69a27afb031568aac3bbc9262c2462cc7b1 Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
2024-03-08Fix unmatched types between function type and valueSung-hun Kim1-2/+2
This patch fixes coverity issues (cid: 1757838, 1759109). Change-Id: If6192ff69b6bfa3fa3b4f73f070aa7085fe59790 Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
2024-03-08Bug fix for buffer referencingSung-hun Kim1-1/+3
Without offset calculation, save_full_core() will write contents in the beginning address of the buffer redundantly. Change-Id: I8eb420ef001ccd4339c501b23dfbeebe6b96fb6e Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
2024-03-07Check global_di pointer to prevent NULL referenceSung-hun Kim1-2/+4
Change-Id: Id3da82b10339b8163e5e012de458f88f4848051f Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
2024-01-31Fix a wrong usage of RPM variableaccepted/tizen/unified/x/20240205.063710accepted/tizen/unified/toolchain/20240311.070044accepted/tizen/unified/20240201.165056Sung-hun Kim1-1/+1
For referencing a variable defined in RPM, it should be used with %{} not ${}. It makes a build error on the VD build system. (it does not appear in the public build system.) Change-Id: I35d13d2b34f3c0c2e2a0b2785d8fe5693db37a88 Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
2022-12-16Add support for RISC-Vaccepted/tizen/unified/20231220.165125Mateusz Moscicki1-12/+8
Change-Id: I98e15d0e5d7e5487fe69ed1db964d23153bfcf8c Signed-off-by: Mateusz Mościcki <m.moscicki2@partner.samsung.com> Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
2022-07-19Do not copy /proc/PID/tasks/*/stack file to the reporttizen_8.0_m2_releasetizen_7.0_m2_releasesubmit/tizen/20220719.123653accepted/tizen/unified/20220720.034059accepted/tizen/8.0/unified/20231005.095230accepted/tizen/7.0/unified/hotfix/20221116.111141accepted/tizen/7.0/unified/20221110.061955tizen_7.0_hotfixtizen_7.0accepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unifiedKarol Lewandowski2-2/+1
Reading stack file is limited to processes with CAP_SYS_ADMIN privilege from v4.19 kernel [1]. It seems there is little value in providing this file as no part of crash report generation nor callstack resolving depend on availability of this file. [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/fs/proc/base.c?h=v4.9.308&id=3c5dc3f313cf1cb1645a0e832f51c1ba79aee934 Change-Id: I2a01f06cb353da031ea49aea14688b0963a2fd2d
2021-09-14Remove the requirement for libdnetmemoryenum.so to exist during compilingtizen_6.5.m2_releasesubmit/tizen_6.5/20211028.163501submit/tizen/20210924.105656submit/tizen/20210909.063632accepted/tizen/unified/20210926.235729accepted/tizen/6.5/unified/20211029.014922tizen_6.5accepted/tizen_6.5_unifiedMateusz Moscicki3-24/+3
Change-Id: If8b44703e75724ff43937eeaa688c0d617c46837
2021-09-10Disable .NET coredumpumps on IA-32 as there is no support library availableKarol Lewandowski1-2/+7
Change-Id: I5b8e2c194cd508a0be2b450d702204c13467d5bf
2021-09-09Release 2.9.7Mateusz Moscicki1-1/+1
Change-Id: Ic01c7328f9e863d4ef6da9a58859ae875719be9e
2021-09-09Do full coredump for .NET on i586Mateusz Moscicki1-1/+14
.NET createdump is not supported on i586, so we do a full coredump. Change-Id: I1605c83b053ba33d7a3075072177f6b4bddcab27
2021-09-09Fix the name of the searched symbol in configureMateusz Moscicki1-1/+1
DotNetMemoryEnumRegions is no longer used. Change-Id: Icdbaa8d63702584ba1e1ecffa8f9970efd0930a3
2021-06-15Release 2.9.6submit/tizen/20210910.095053submit/tizen/20210615.153516accepted/tizen/unified/20210615.215232Karol Lewandowski1-1/+1
Change-Id: I439575974bb69e64dab00c77b566422eec14d632
2021-06-10Fix coverity issue - using uninitialized valueMateusz Moscicki2-12/+15
Change-Id: I32dab5793a142513a762a640218db09bc6da4496
2021-05-25Add log to init_from_auxvINSUN PYO1-1/+3
Change-Id: I9c2d3b9f5edc29437bb79dd0be30ed9ac82c937a
2020-10-12Release 2.9.5Mateusz Moscicki1-1/+1
Change-Id: If1e2a0aab85569a68af015ad5c62c9a97aaba3cf
2020-10-12Fix double close the file descriptortizen_6.0.m2_releasesubmit/tizen_6.0_hotfix/20201103.115103submit/tizen_6.0_hotfix/20201102.192903submit/tizen_6.0/20201029.205503submit/tizen/20201012.145157accepted/tizen/unified/20201013.005703accepted/tizen/6.0/unified/hotfix/20201102.231540accepted/tizen/6.0/unified/20201030.111047tizen_6.0_hotfixtizen_6.0accepted/tizen_6.0_unified_hotfixaccepted/tizen_6.0_unifiedMateusz Moscicki1-0/+2
Change-Id: Ib0f650e911836acb1b0d3fea9ed15b085c5a1626
2020-10-09Release 2.9.4submit/tizen/20201009.133717Mateusz Moscicki1-1/+1
Change-Id: I3dfd3ddba393b0026345ddb5347c03dfb2c8dc15
2020-10-09Revert "Fix building for aarch64"Mateusz Moscicki1-2/+0
This reverts commit e80ae2d573420a801d46a0cecb43a54e1bd51b8f. Change-Id: Ib23fa4ab8f6ace5f7928a2fe180561db9c102871
2020-10-09Revert "Save full coredump for .NET applications"Mateusz Moscicki1-1/+1
This reverts commit b60759393aeef898a5de356942bf1f2b6ad1fe80. Change-Id: I9cb1bef3f9f6ac358d8d6e7bf5d0d7338307c346
2020-10-08Delegate minimal coredump of .NET process creation to CoreCLR libraryMateusz Moscicki2-38/+27
Coredumps for .NET processes are created in the same way as used by createdump crom CoreCLR Change-Id: I583870e4098743312ac35dc5c60c8400b1673620
2020-09-16Release 2.9.3submit/tizen/20200916.095039accepted/tizen/unified/20200917.141808Mateusz Moscicki1-1/+1
Change-Id: I7370ea01a56464846bd0e00c16c41f57e55dcfc3
2020-09-16Save full coredump for .NET applicationsMateusz Moscicki1-1/+1
This commit is a temporary solution until the issue of minicoredump reading by LLDB is resolved. Change-Id: I64db37ad5e204396390b74dadc273a4c6b938b2f
2020-09-15Fix coverity issue - untrusted divisorMateusz Moscicki1-1/+4
Change-Id: Ibfb169bd392a83133d36d86eaee2f5c75e662baa
2020-09-01List the MIT license in the spec fileMichal Bloch1-1/+1
Change-Id: Ic208e5100c96a85be74fa21849d22585fcd2e9b6 Signed-off-by: Michal Bloch <m.bloch@samsung.com> (cherry picked from commit 2f241e31f117d34415bc86fda9712225b152de6e)
2020-07-27dnetmemoryenumlib: Synchronize interface header with upstream projectsubmit/tizen/20200827.222443submit/tizen/20200827.094741accepted/tizen/unified/20200828.121506Karol Lewandowski2-19/+48
This commit synchronizes dnetmemoryenumlib.h interface header with tizen.org's platform/upstream/coreclr commit 2adf8f813f ("[Tizen] Unify dnetmemoryenumlib terms to match the codebase (#291)"). Change-Id: I8738df242db5281af6017491c0c633ad9811c12e
2020-07-23telf: Drop errnous and unused codeKarol Lewandowski3-34/+1
Change-Id: Idfec11bab141c0a834779e99af46bac531c62394
2020-07-16Release 2.9.0submit/tizen/20200716.115016accepted/tizen/unified/20200722.144624Mateusz Moscicki1-1/+1
Change-Id: I2d766b7156893bac79f5da6f070999d2bd68ad12
2020-07-16Revert libelf-related commitsKarol Lewandowski3-345/+2
This reverts commit 14fb406744 ("Clarify information about libelf linking") and 9cec3e8c3 ("Adjust spec after elfutils upgrade"). These no longer apply as libelf has ben dropped. Change-Id: Iffe5ef8d0183a9e4ccd78f140c26d833463b1bb6
2020-07-16Change the way ELF files are parsedMateusz Moscicki6-753/+118
Change-Id: I580228e395aa3f43c0462dce0d7eb30cb30faf1d
2020-07-16Add an ELF file parserMateusz Moscicki4-1/+506
Change-Id: I4acb5b5c69a03da03ecd2391c2121e9e3530e975
2020-07-06Clarify information about libelf linkingsubmit/tizen/20200706.125223accepted/tizen/unified/20200708.125350Karol Lewandowski1-3/+3
Change-Id: I6dd2006c022ea8c708d0d525f984fdc1f3d25df2
2020-07-02Adjust spec after elfutils upgradesubmit/tizen/20200703.093242Karol Lewandowski3-3/+346
Change-Id: I2edd503e3e63f5295da3e4287c82881fbc81904f
2020-06-19Release 2.8.0submit/tizen/20200619.152010Mateusz Moscicki1-1/+1
Change-Id: I8d111a72af67bd31e71f1568ff45613182fd026f
2020-06-16Delete mlockall()Mateusz Moscicki1-2/+8
Locking everything in the RAM caused out of memory for some .NET applications. Change-Id: I3166b64b5fe03e02c375a5dc295f76333a633351
2020-06-01Fix building for aarch64submit/tizen/20200601.141752accepted/tizen/unified/20200602.133240Mateusz Moscicki1-0/+2
Change-Id: Ic9a166b713a02ea805290c6899a787a88307063d
2020-06-01Release 2.7.0submit/tizen/20200601.114633Mateusz Moscicki1-1/+1
Change-Id: I34e693591389638075dc512d07338bb0a8c7644c
2020-06-01Add managed stack support for .NET applicationsMateusz Moscicki8-4/+225
To enable this feature change option in recept file: [...] "managed_stack": "normal", [...] managed_stack_details option determines the accuracy of managed stack reconstruction and size of the final minicoredump. It can be set to: "none" - no managed call stack "normal" - managed call stack probably without symbols "priv_and_shared" - some symbols will be available "full" - full information The quality of the stack reconstruction is affected by settings in /proc/<pid>/coredump_filter. For better results it is good to enable dumping of file-backed private and shared mappings. Change-Id: Ic165814a901d77342886c070c0488fc4b3deb8c0
2020-05-25Fix "without core" optionMateusz Moscicki1-5/+7
Change-Id: I50152faa74b88b4736e5c4cb00f3ae69d249935e
2020-05-19Release 2.6.0submit/tizen/20200519.120552Mateusz Moscicki1-1/+1
Change-Id: I1d26b71bcc26638d53893c23857cfda49f66091f
2020-05-19Provide prepared configuration filesMateusz Moscicki5-3/+74
Minicoredumper configuration file - generic.recept.json - is a symbolic link to one of three files: * generic-rel.recept.json (default) - minidump without HEAP * generic-dbg.recept.json - minidump with HEAP * generic-fullcore.recept.json - full coredump Change-Id: I541c8d11d921ea313dce5e3530264bec17bf9efc
2020-04-24Release 2.5.0submit/tizen/20200424.142513accepted/tizen/unified/20200427.031122Mateusz Moscicki1-1/+1
Change-Id: I9b042d4e7c974eebae5621fc3320d61250c9c909
2020-04-23Fix compile error with elfutils >= 0.167Mateusz Moscicki2-1/+5
Change-Id: I3495f989ea4f12a13f73ad8a8ec87ec81012ec7c
2020-04-21packaging: Specify exact variant of BSD license usedKarol Lewandowski1-1/+1
Change-Id: I969274d3f5a0c93560cc509b858b00adb2a3e666
2020-04-15Release 2.4.0submit/tizen/20200415.080442accepted/tizen/unified/20200421.051511Mateusz Moscicki1-1/+1
Change-Id: I8c4ea4c43ec0a1ea1edee2cf31bfcf592933fcb8
2020-04-14Add support for the dotnet-loaderMateusz Moscicki1-0/+4
Change-Id: Ie0bb7e0d7830f0418b9069942fb285afdfa599d4
2020-03-20Release 2.3.0submit/tizen/20200320.173154accepted/tizen/unified/20200321.043831Mateusz Moscicki1-1/+1
Change-Id: Ic4ce6135404acdf161947b8f22529c8ada598716
2020-03-20Add the dump reason to the log fail messageMateusz Moscicki1-7/+9
Change-Id: I179d6a91fe2ef23523741cd2f08315a05fef0346
2020-03-20Check if region pointed by the register is dumpableMateusz Moscicki1-3/+14
Change-Id: I49408c5a32b93714897e18780c1797d4d2156445