Актуальные научные исследования в современном мире iscience. In. Ua


«MODERN SCIENTIFIC CHALLENGES AND TRENDS»



Download 4,47 Mb.
Pdf ko'rish
bet30/194
Sana04.04.2022
Hajmi4,47 Mb.
#527906
1   ...   26   27   28   29   30   31   32   33   ...   194
Bog'liq
MODERN SCIENTIFIC CHALLENGES AND (web)

«MODERN SCIENTIFIC CHALLENGES AND TRENDS»
 
SCIENCECENTRUM.PL 
ISSUE 3 
ISBN 978-83-949403-3-1 
36
SECTION: INFORMATION AND 
COMMUNICATION TECHNOLOGIES 
Chirikhin Aleksandr, Popova Kristina 
Novosibirsk State University 
(Novosibirsk, Russian Federation) 
 
 
METHODS OF DECREASING RUNTIME ERROR DIAGNOSTICAL MESSAGES 
REDUNDANCY 
Abstract
. Report redundancy problem is described and demonstrated. 
Reasons of report redundancy are identified. Algorithms reducing report 
redundancy are developed. 
Keywords
: runtime errors, C++, test, Valgrind, LLVM, memory leaks, 
redundancy. 
Introduction. 
It is common to divide errors that can be faced by a 
programmer during the development process into two parts: compile-time errors 
and runtime errors. If a program contains at least one error from the first part, it 
cannot be compiled. Syntax error is an example of such type of errors. If a program 
contains an error from the second part, a developer cannot be notified about it 
during compile-time [1]. Nevertheless, there are special tools which are intended to 
detect runtime errors during runtime. The most popular ones are compiler-rt, 
Valgrind and Dr. Memory [2]. Unfortunately, their diagnostical messages have some 
serious disadvantages making error analysis more complicated. Thus, if a program 
has one function and a thousand tests using this function, AddressSanitizer, which 
is a module of compiler-rt project, print a thousand of error reports.
The purpose of the work is a development of methods decreasing runtime 
error diagnostical messages redundancy.
Problem demonstration. 
Consider the following situation. There are three 
functions: doSomething, a body of which contains a runtime error, and test1 and 
test2 using doSomething. In case of isolated test running any runtime error analysis 
tool detects three errors although there is just one error in fact. Fixing doSomething 
function automatically fixes the other two errors so there is not any reason to spend 
time to analyze all these errors. 

Download 4,47 Mb.

Do'stlaringiz bilan baham:
1   ...   26   27   28   29   30   31   32   33   ...   194




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish