Project

General

Profile

News

Klever 3.7

Added by Evgeny Novikov 3 months ago

Klever 3.7 was primarily devoted to improving a quality of verification results for Linux kernel drivers. After all about 43% of original false alarms issued when checking memory safety have gone.

Following fixes and improvements in Klever 3.7 deserve an attention:

  • Adding new environment models for the Linux kernel:
    • Modeling the list API.
    • Modeling the kref API.
    • Adding model for the input_ff_create_memless() function.
    • Adding models for check_add_overflow(), check_sub_overflow() and check_mul_overflow() macros that fixes the struct_size() model for new versions of the Linux kernel.
    • Modeling v4l2_device(un)register()_ functions.
    • Modeling the i2c_match_id() function.
    • Adding model for the dev_err_probe() function.
    • Adding models for the dynamic debug printing API.
  • Fixing existing environment models for the Linux kernel:
    • Modeling failures for calloc() and zalloc().
    • Fixing the off-by-one error when choosing a device from MODULE_DEVICE_TABLE.
    • Passing the same resource to probe and remove for HID drivers.
    • Allocating memory for inode for file_operations callbacks.
    • Allocating memory for tty_struct for tty_operations callbacks.
    • Avoiding using implicit resources in environment model specifications.
  • Adding a new section to the user documentation: Verifying New Program.
  • Fixing tests for environment model specifications and Environment Model Generator.
  • Updating CIF which main file was rewritten in C++ and that started to print keyword static for local variables.
  • Updating CPAchecker that supports packed/aligned attributes and issues violation witnesses more efficiently.
  • Updating Python dependencies.

We would like to thank very much everybody who made this great job possible!

Klever 3.6

Added by Evgeny Novikov 5 months ago

Klever 3.6 was released pretty soon after Klever 3.5 since we updated Clade and CIF in the backward incompatible manner. This means that the new version of Klever requires all build bases to be regenerated with the new version of Clade and CIF installed together with Klever. You can download build bases for Linux 5.5.19, 5.10.120 and 5.17.13 as well as sample build bases prepared ahead of time. Corresponding files are available either directly from the "Files" tab or from the Klever tutorial.

Other changes in Klever 3.6 are new models for struct_size() and underlying __ab_c_size() for the Linux kernel.

Klever 3.5

Added by Evgeny Novikov 6 months ago

We released Klever 3.5 that has following noticeable changes:

  • Improving support for verification of Linux 5.10 and Linux 5.17 (new specifications set "5.17" was added).
  • Environment models generated at verification of Linux loadable kernel modules do not contain infinite loops anymore. This accelerated analysis and did not result in any degradation in the quality of verification results.
  • Using Ubuntu 20.04, Debian 11 and openSUSE 15.3 as preferable Linux distributions for deployment of Klever.
  • Switching to Python 3.10. You should carefully read this comment if you are going to update existing local instances of Klever.
  • Supporting regular expressions for assessing unsafes (you can see #11513 for more details).
  • Updating Klever Tutorial, in particular using verification of loadable kernel modules of Linux 5.5 as an example.
  • Updating add-ons and verification back-ends (various bug fixes and optimizations).
  • More advanced authorization of new users. Now the administrator should activate new users while somebody should grant them access to some jobs.

Many thanks to everybody involved!

Klever 3.4

Added by Evgeny Novikov 10 months ago

Klever 3.4 includes the following prominent features:

  • Several improvements contributing development and generation of environment models:
    • Ability to specify savepoints for the main process.
    • Ability to select scenarios for particular savepoints manually.
    • Ability to configure the number of iterations for invocation of callbacks.
    • Providing users with a graphical representation of environment models directly in the Klever web UI.
  • Models for kmem_cache functions for the Linux kernel.
  • Updating add-ons and verification back-ends (various bug fixes and optimizations).
  • New sections in the user documentation: Configuring Program Decomposition and Development of Verifier Profiles.
  • Besides, you can find the CIF’s user documentation that may be helpful at development of advanced specifications and models.
  • Many fixes and minor improvements that make the specification development and verification workflow more easy, correct and reliable.

We highly appreciate efforts of developers and the feedback from users who made this release possible!

Klever top contributor Ilja Zakharov started a new job

Added by Evgeny Novikov about 1 year ago

Ilja Zakharov was one of the greatest contributors to the Klever project. He was the primary developer of such components as Environment Model Generator, Program Fragment Generator, Schedulers and Controller. Besides, he created a lot of environment model specifications for different kinds of target programs and made considerable scientific researches. We appreciate his work very much.

Recently Ilja Zakharov became a Verification Engineer at the Runtime Verification company. There he will be engaged in application of formal methods for smart contracts and tools used for their verification. We wish him good luck and hope that the gained experience will help him at the new position.

Klever 3.3

Added by Evgeny Novikov about 1 year ago

The most noticeable work in Klever 3.3 is a new section Development of Environment Model Specifications in the user documentation. Besides, there are following considerable improvements:

  • Fixing allocation of memory for arguments of callbacks of several vital Linux device driver types.
  • Enhancing environment model specifications for file systems.
  • Simplifying development of environment model specifications and fixing some bugs at their processing
  • Numerous enhancements of the Klever web UI that simplify several common use cases.
  • Updating dependencies and addons that make them more functional and robust.
  • Development of unit tests for deployment of Klever within the OpenStack cloud
  • Supporting deployment at openSUSE.
  • New section Development of Common API Models in the user documentation.

We would like to thank those developers and users who actively contributed to Klever 3.3!

Klever 3.2

Added by Evgeny Novikov over 1 year ago

The major improvement of Klever 3.2 is a new environment model generator that supports automated splitting of complex environment models into sets of smaller ones. This is extremely helpful at verification of large programs and program fragments when verification tools often can not provide definite answers within specified time limits.

Other important changes are as follows:
  • Substantially fixed and enhanced representation of violation witnesses (error traces) and code coverage reports as well as navigation through them.
  • New environment models for the Linux kernel (the bitmap API and several functions working with strings).
  • New validation set on the base of faults found by Klever and fixed in the Linux kernel.
  • Supporting more reliable and efficient deployment of Klever within the OpenStack cloud.
  • New section Analysis of Code Coverage Reports in the Klever tutorial.

In addition, Klever 3.2 includes numerous minor improvements and bug fixes.

This release would not be possible without intensive work of developers and testers. Also, we always look forward and welcome a feedback from users.

Klever 3.1

Added by Evgeny Novikov over 1 year ago

Klever 3.1 was released!

The new release has the following major changes:

Many thanks to all contributors of Klever 3.1!

Klever 3.0

Added by Evgeny Novikov almost 2 years ago

Let’s start the new year 2021 with new Klever 3.0!

Among a lot of improvements and bug fixes, most significant changes in Klever 3.0 are as follows:
  • Support for verification of kernel loadable modules of Linux 5.5.
  • Support for verification of Linux kernel loadable modules on the ARM architecture.
  • Fixing and developing specifications for verification of Linux kernel loadable modules:
    • Fixing specifications for checking usage of clocks in drivers.
    • Support for checking usage of the RCU API.
    • Developing detailed specifications for USB serial drivers.
    • Improving environment models for runtime power management callbacks.
    • Using device identifiers from the driver tables.
    • Developing models for devm memory allocating functions.
    • Fixing framebuffer_alloc/release models.
    • Adding models for request/release_firmware(), v4l2_i2c_subdev_init() and i2c_smbus_read_block_data().
  • More user-friendly configuration for target program fragments and requirement specifications.
  • Development of preset tags for assessing most common false alarms.
  • Support for new internal data formats for enhancing and optimizing representation and assessment of verification results.
  • Support for cross-references for original program source files and models.
  • Update of all variants of the CPAchecker verification back-end.
  • Switching to a special version of Frama-C developed within project Deductive Verification Tools for Linux Kernel from outdated and unmaintained CIL. Both tools are used for merging source files and optimizations like removing unused functions.
  • Using systemd scripts instead of init.d ones for Klever services.
  • Development of Tutorial.

Klever 3.0 is not backward compatible with former versions of Klever, so, you need to remove existing instances if so and deploy Klever from scratch.

As usual many thanks are to everyone who participated in this release of Klever!

(1-10/16)

Also available in: Atom