Skip to content

Commit

Permalink
bumps up the version and updates the change log (#1384)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivg authored Dec 8, 2021
1 parent b694d30 commit 7bc3156
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 7 deletions.
71 changes: 71 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,77 @@
2.4.0
=====

### Features

- #1325 adds armeb abi
- #1326 adds experimental Ghidra disassembler and lifting backend
- #1332 adds the flatten pass
- #1341 adds context variables to the knowledge base
- #1343 adds register aliases to the Core Theory
- #1358 adds LLVM 12 support
- #1360 extends the knowledge monad interface
- #1363 adds forward-chaining rules and Primus Lisp methods
- #1364 adds a generic byte pattern matcher based on Ghidra
- #1365 adds support for the Thumb IT blocks
- #1369 adds some missing `t2LDR.-i12` instructions to the Thumb lifter

### Improvements

- #1336 improves the `main` function discovery heuristics
- #1337 adds more Primus Lisp stubs and fixes some existing
- #1342 uses context variables to store the current theory
- #1344 uses the context variables to store the Primus Lisp state
- #1355 tweaks symbolization and function start identification facilities
- #1353 improves arm-family support
- #1356 stops proposing aliases as potential subroutine names
- #1361 rewrites knowledge and primus monads
- #1370 tweaks Primus Lisp' method resolution to keep super methods
- #1375 error handling and performance tweaks
- #1378 improves reification of calls in the IR theory (part I)
- #1379 improves semantics of some ITT instructions
- #1380 Fixes handling of fallthroughs in IR theory


### Bug Fixes

- #1328 fixes C.ABI.Args `popn` and `align_even` operators
- #1329 fixes frame layout calculation in the Primus loader
- #1330 fixes the address size computation in the llvm backend
- #1333 fixes and improves label handling in the IR theor
- #1338 fixes core:eff theory
- #1340 fixes the Node.update for graphs with unlabeled nodes
- #1347 fixes a knowledge base race condition in the run plugin
- #1348 fixes endianness in the raw loader
- #1349 short-circuits evaluation of terms in Bap_main.init
- #1350 fixes variable rewriter and some Primus Lisp symbolic functions
- #1351 fixes and improves aarch64 lifter
- #1352 fixes several Primus Lisp stubs
- #1357 fixes some T32 instructions that are accessing to PC
- #1359 fixes handling of let-bound variables in flatten pass
- #1366 fixes a bug in the `cmp` semantics
- #1374 fixes handling modified immediate constants in ARM T32 encoding
- #1376 fixes fresh variable generation
- #1377 fixes the IR theory implementation


### Tooling

- #1319 fixes the shared folder in deb packages
- #1320 removes sudo from postinst and postrm actions in the deb packages
- #1321 enables push flag in the publish-docker-image action
- #1323 fixes the ppx_bap version in the dev-repo opam file
- #1331 fixes the docker publisher, also enables manual triggering
- #1327 fixes a typo in the ubuntu dockerfiles
- #1345 fixes bapdoc
- #1346 nightly tests are failing due to a bug upstream



2.3.0
=====

### Features

- #1263 fixes PE/COFF sections decoding
- #1265 introduces BIL special encodings and publishes BIL CT parser
- #1266 introduces the BIL code slot and a few convenience functions
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/BinaryAnalysisPlatform/bap/blob/master/LICENSE)
[![Join the chat at https://gitter.im/BinaryAnalysisPlatform/bap](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/BinaryAnalysisPlatform/bap?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![docs](https://img.shields.io/badge/doc-master-green.svg)][docs]
[![docs](https://img.shields.io/badge/doc-2.3.0-green.svg)][docs]
[![docs](https://img.shields.io/badge/doc-2.4.0-green.svg)][docs]

## Table of contents
* [Overview](#overview)
Expand All @@ -28,16 +28,16 @@ BAP is developed in [CMU, Cylab](https://www.cylab.cmu.edu/) and is sponsored by
We provide binary packages packed for Debian and Red Hat derivatives. For other distributions we provide tgz archives. To install bap on a Debian derivative:

```bash
wget https://github.com/BinaryAnalysisPlatform/bap/releases/download/v2.3.0/{bap,libbap,libbap-dev}_2.3.0.deb
sudo dpkg -i {bap,libbap,libbap-dev}_2.3.0.deb
wget https://github.com/BinaryAnalysisPlatform/bap/releases/download/v2.4.0/{bap,libbap,libbap-dev}_2.4.0.deb
sudo dpkg -i {bap,libbap,libbap-dev}_2.4.0.deb
```

### From sources

Our binary packages do not include the OCaml development environment. If you are going to write an analysis in OCaml you need to install BAP from the source code using either [opam][opam-install] or by cloning and building this repository directly. The opam method is the recommended one. Once it is installed the following three commands should install the platform in a newly created switch.

```bash
opam init --comp=4.09.0 # inits opam and install the OCaml compiler
opam init --comp=4.12.1 # inits opam and install the OCaml compiler
eval `opam config env` # activates opam environment
opam depext --install bap # installs bap and its dependencies
```
Expand Down
3 changes: 2 additions & 1 deletion lib/bap_c/bap_c_abi.mli
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,9 @@ end
arg iargs fargs t));
let () = List.iter ~f:define Bap_risv_target.[riscv32; riscv64]
]}
@since 2.3.0
*)
module Arg : sig
type 'a t
Expand Down
2 changes: 1 addition & 1 deletion oasis/common
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
OASISFormat: 0.4
Name: bap
Version: 2.4.0-alpha
Version: 2.4.0
OCamlVersion: >= 4.08.0
Synopsis: BAP Core Library
Authors: BAP Team
Expand Down
2 changes: 1 addition & 1 deletion oasis/common.omake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
OASISFormat: 0.4
Name: bap
Version: 2.4.0-alpha
Version: 2.4.0
OCamlVersion: >= 4.08.0
Synopsis: BAP Core Library
Authors: BAP Team
Expand Down

0 comments on commit 7bc3156

Please sign in to comment.