Skip to content

Commit

Permalink
Merge branch 'natch'
Browse files Browse the repository at this point in the history
  • Loading branch information
thientc committed Aug 17, 2023
2 parents ba86e27 + 244d58f commit a501649
Show file tree
Hide file tree
Showing 19 changed files with 3,701 additions and 189 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## 20230522
- Fix error in generator
- Add generation for pugi::char_t *&

## 20230711
- Support generation fuzz driver for Natch data: https://github.com/thientc/Futag-tests/tree/main/Natch

## 20230807
- Optimize ConsumerBuilder
- Add example for context-generation https://github.com/thientc/Futag-tests/tree/main/json-c-contexts
Binary file modified futag-work.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/Checkers/lib/FutagAnalyzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file FutagAnalyzer.cpp
* @author Tran Chi Thien (thientcgithub@gmail.com)
* @brief
* @version 2.0.4
* @version 2.0.5
* @date 2023-04-17
*
* @copyright Copyright (c) 2023
Expand Down
6 changes: 5 additions & 1 deletion src/Checkers/lib/FutagConsumerAnalyzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file FutagConsumerAnalyzer.cpp
* @author Tran Chi Thien
* @brief
* @version 2.0.4
* @version 2.0.5
* @date 2023-04-17
*
* @copyright Copyright (c) 2023
Expand Down Expand Up @@ -516,6 +516,10 @@ void FutagConsumerAnalyzer::AnalyzeVisitedFunctionDecl(
llvm::outs() << "[Futag]: Print contexts\n";
// Build the CFG of current function
CFG *cfg = Mgr.getCFG(func);
//To speed up the analyzer for normal computer, we analyze only simple functions with number of block in CFG <= 30
if(cfg->size() > 30) {
return ;
}
if (!cfg) {
llvm::outs() << "-- Empty CFG for function: "
<< func->getNameAsString() << "\n";
Expand Down
2 changes: 1 addition & 1 deletion src/clang/lib/Futag/Basic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* a tool of ISP RAS *
************************************************
*
* @version 2.0.4
* @version 2.0.5
* @date 2023-04-17
*
* @copyright This file is distributed under the GPL v3 license
Expand Down
2 changes: 1 addition & 1 deletion src/clang/lib/Futag/ConsumerFinder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file ConsumerFinder.cpp
* @author Tran Chi Thien
* @brief This file contains functions for analyzing consumer program
* @version 2.0.4
* @version 2.0.5
* @date 2023-04-17
*
* @copyright Copyright (c) 2023
Expand Down
2 changes: 1 addition & 1 deletion src/clang/lib/Futag/MatchFinder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file MatchFinder.cpp
* @author Tran Chi Thien
* @brief
* @version 2.0.4
* @version 2.0.5
* @date 2023-04-17
*
* @copyright Copyright (c) 2023
Expand Down
2 changes: 1 addition & 1 deletion src/python/futag-package/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This python package is for building library, generating and compiling fuzz-drive
## 1. Install

```bash
pip install dist/futag-2.0.4.tar.gz
pip install dist/futag-2.0.5.tar.gz
```

## 2. Preprocessor
Expand Down
Binary file not shown.
Binary file removed src/python/futag-package/dist/futag-2.0.4.tar.gz
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion src/python/futag-package/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = futag
version = 2.0.4
version = 2.0.5
author = Futag-team of ISP RAS
author_email = thientcgithub@gmail.com
description = Python package of Futag
Expand Down
2 changes: 1 addition & 1 deletion src/python/futag-package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='futag',
version='2.0.4',
version='2.0.5',
author='Futag-team of ISP RAS',
author_email='thientcgithub@gmail.com',
packages=['futag'],
Expand Down
4 changes: 2 additions & 2 deletions src/python/futag-package/src/futag.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: futag
Version: 2.0.4
Version: 2.0.5
Summary: Futag tools for creating fuzz targets of software library
Home-page: https://github.com/ispras/Futag/tree/main/src/python/futag-package
Author: Futag-team of ISP RAS
Expand Down Expand Up @@ -36,7 +36,7 @@ This python package is for building library, generating and compiling fuzz-drive
## 1. Install

```bash
pip install dist/futag-2.0.4.tar.gz
pip install dist/futag-2.0.5.tar.gz
```

## 2. Preprocessor
Expand Down
Loading

0 comments on commit a501649

Please sign in to comment.