Project

General

Profile

Actions

Feature #6486

open

Get rid of auxiliary functions if possible

Added by Evgeny Novikov over 8 years ago. Updated over 4 years ago.

Status:
Open
Priority:
High
Category:
Weaving
Start date:
12/26/2015
Due date:
% Done:

0%

Estimated time:
Published in build:

Description

In the most of cases advices are used to replace original function calls with calls to model functions (just passed arguments may vary). This doesn't require auxiliary functions indeed since we can easily substitute model function calls directly to places where original functions were called.

This will help in several ways:
  1. The resulting source code will have less size and verifiers will like this more.
  2. There will be no ugly ldv_.*\d+ functions in error traces.
  3. We will not have auxiliary files with ldv_.*\d+ functions (there is no such files at the moment but this is a bug) and there will be no reference to them from error traces.

Of course implementation of this feature requires parsing of advice bodies to understand whether we really can get rid of auxiliary functions.


Related issues 1 (0 open1 closed)

Related to C Instrumentation Framework - Feature #9935: Get rid of auxilary function duplicatesClosedEvgeny Novikov11/19/2019

Actions
Actions #1

Updated by Evgeny Novikov about 8 years ago

  • Category set to Weaving
Actions #2

Updated by Evgeny Novikov almost 5 years ago

  • Blocked by deleted (Feature #6827: Merge weaving for different entities)
Actions #3

Updated by Evgeny Novikov almost 5 years ago

  • Priority changed from High to Urgent

This is very important task since users suffer very much due to any auxiliary functions.

Actions #4

Updated by Evgeny Novikov over 4 years ago

  • Priority changed from Urgent to High

Although this is a nice thing to do, it is too hard to implement. So, I suggest to do #9935 instead. That issue will solve almost all related problems expect for there still will be redundant auxiliary functions that just calls the model ones.

Actions #5

Updated by Evgeny Novikov over 4 years ago

  • Related to Feature #9935: Get rid of auxilary function duplicates added
Actions

Also available in: Atom PDF