Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ucsb-seclab/boomerang
Browse files Browse the repository at this point in the history
merge
  • Loading branch information
subwire committed Feb 18, 2017
2 parents 5a3a93e + 5605eaf commit f372eed
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
1 change: 1 addition & 0 deletions exploits/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The bugs are still yet to be fixed by the vendors, exploits will be updated after the patch is out.
20 changes: 13 additions & 7 deletions optee/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
4. [Prerequisites](#41-prerequisites)
4. [Basic setup](#42-basic-setup)
4. [HiKey](#43-hikey)
6. [Load driver, tee-supplicant and run xtest](#6-load-driver-tee-supplicant-and-run-xtest)
7. [Coding standards](#7-coding-standards)
7. [checkpatch](#71-checkpatch)
6. [Cooperative Semantic Reconstruction (CSR)](#6-cooperative-semantic-reconstruction-csr)
7. [Load driver, tee-supplicant and run xtest](#7-load-driver-tee-supplicant-and-run-xtest)
8. [Coding standards](#8-coding-standards)
8. [checkpatch](#81-checkpatch)

## 1. Introduction
The `optee_os git`, contains the source code for the TEE in Linux using the
Expand Down Expand Up @@ -149,8 +150,9 @@ Just want to update OP-TEE client software? Put the device in fastboot mode and
$ make optee-client
$ make xtest
```

## 6. Load driver, tee-supplicant and run xtest
## 6. Cooperative Semantic Reconstruction (CSR)
On secure side refer [teemanager](https://github.com/ucsb-seclab/boomerang/blob/master/optee/optee_os/core/arch/arm/kernel/tee_ta_manager.c#L89), on non-secure side refer [rpc](https://github.com/ucsb-seclab/boomerang/blob/master/optee/linux/drivers/tee/optee/rpc.c#L389).
## 7. Load driver, tee-supplicant and run xtest
Since release v2.0.0 you don't have to load the kernel driver explicitly. In the
standard configuration it will be built into the kernel directly. To actually
run something on a device you however need to run tee-supplicant. This is the
Expand All @@ -165,9 +167,13 @@ code you could run xtest (the main test suite for OP-TEE), run
```
$ xtest
```
All the timings for each test will be displayed with prefix "BOOMERANG Time for", you can see all the timing related logs using following command:
```
$ xtest | grep BOOMERANG
```

---
## 7. Coding standards
## 8. Coding standards
In this project we are trying to adhere to the same coding convention as used in
the Linux kernel (see
[CodingStyle](https://www.kernel.org/doc/Documentation/CodingStyle)). We achieve this by running
Expand All @@ -184,7 +190,7 @@ the code also follows GlobalPlatform standards. The exceptions are as follows:
later on (and we don't expect that it is easy to convince other software
projects to change coding style).

### 7.1 checkpatch
### 8.1 checkpatch
Since checkpatch is licensed under the terms of GNU GPL License Version 2, we
cannot include this script directly into this project. Therefore we have
written the Makefile so you need to explicitly point to the script by exporting
Expand Down
Binary file added papers/bommerang-ndss2017.pdf
Binary file not shown.

0 comments on commit f372eed

Please sign in to comment.