SwePub
Sök i LIBRIS databas

  Extended search

id:"swepub:oai:DiVA.org:mdh-28721"
 

Search: id:"swepub:oai:DiVA.org:mdh-28721" > Analysing switch-ca...

  • 1 of 1
  • Previous record
  • Next record
  •    To hitlist

Analysing switch-case code with abstract execution

Holsti, N. (author)
Tidorum Ltd., Helsinki, Finland
Gustafsson, Jan (author)
Mälardalens högskola,Inbyggda system
Källberg, Linus (author)
Mälardalens högskola,Inbyggda system
show more...
Lisper, Björn (author)
Mälardalens högskola,Inbyggda system
show less...
Tidorum Ltd, Helsinki, Finland Inbyggda system (creator_code:org_t)
2015
2015
English.
In: OpenAccess Series in Informatics. - 9783939897958 ; , s. 85-94
  • Conference paper (peer-reviewed)
Abstract Subject headings
Close  
  • Constructing the control-flow graph (CFG) of machine code is made difficult by dynamic transfers of control (DTC), where the address of the next instruction is computed at run-time. Switchcase statements make compilers generate a large variety of machine-code forms with DTC. Two analysis approaches are commonly used: pattern-matching methods identify predefined instruction patterns to extract the target addresses, while analytical methods try to compute the set of target addresses using a general value-Analysis. We tested the abstract execution method of the SWEET tool as a value analysis for switch-case code. SWEET is here used as a plugin to the Bound-T tool: thus our work can also be seen as an experiment in modular tool design, where a general value-Analysis tool is used to aid the CFG construction in a WCET analysis tool. We find that the abstract-execution analysis works at least as well as the switch-case analyses in Bound-T itself, which are mostly based on pattern-matching. However, there are still some weaknesses: the abstract domains available in SWEET are not well suited to representing sets of DTC target addresses, which are small but sparse and irregular. Also, in some cases the abstract-execution analysis fails because the used domain is not relational, that is, does not model arithmetic relationships between the values of different variables. Future work will be directed towards the design of abstract domains eliminating these weaknesses.

Subject headings

TEKNIK OCH TEKNOLOGIER  -- Elektroteknik och elektronik (hsv//swe)
ENGINEERING AND TECHNOLOGY  -- Electrical Engineering, Electronic Engineering, Information Engineering (hsv//eng)

Keyword

Dynamic control flow
Indexed branch
Machine-code analysis
WCET analysis
Data flow analysis
Embedded systems
Flow graphs
Pattern matching
Value engineering
Abstract executions
Analysis approach
Analytical method
Control flow graphs
Dynamic controls
Machine codes
Codes (symbols)

Publication and Content Type

ref (subject category)
kon (subject category)

Find in a library

To the university's database

  • 1 of 1
  • Previous record
  • Next record
  •    To hitlist

Find more in SwePub

By the author/editor
Holsti, N.
Gustafsson, Jan
Källberg, Linus
Lisper, Björn
About the subject
ENGINEERING AND TECHNOLOGY
ENGINEERING AND ...
and Electrical Engin ...
Articles in the publication
OpenAccess Serie ...
By the university
Mälardalen University

Search outside SwePub

Kungliga biblioteket hanterar dina personuppgifter i enlighet med EU:s dataskyddsförordning (2018), GDPR. Läs mer om hur det funkar här.
Så här hanterar KB dina uppgifter vid användning av denna tjänst.

 
pil uppåt Close

Copy and save the link in order to return to this view