You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<imgsrc="https://img.shields.io/pypi/l/fosslight_binary"alt="FOSSLight Binary is released under the Apache-2.0." /> <imgsrc="https://img.shields.io/pypi/v/fosslight_binary"alt="Current python package version." /> <imgsrc="https://img.shields.io/pypi/pyversions/fosslight_binary" /> [](https://api.reuse.software/info/github.com/fosslight/fosslight_binary_scanner)
7
7
8
-
```note
8
+
## π‘ Introduction
9
9
It searches for a binary and outputs OSS information
10
10
if there is an identical or similar binary from the Binary DB.
11
-
```
12
11
12
+
## π User Guide
13
13
14
-
## Contents
14
+
We describe the user guide in the FOSSLight guide page.
15
+
Please see the [**User Guide**](https://fosslight.org/fosslight-guide-en/scanner/4_binary.html) for more information on how to install and run it.
15
16
16
-
-[Prerequisite](#-prerequisite)
17
-
-[How to install](#-how-to-install)
18
-
-[How to run](#-how-to-run)
19
-
-[Result](#-result)
20
-
-[Development](#-development)
21
-
-[How it works](#-how-it-works)
22
-
-[How to report issue](#-how-to-report-issue)
23
-
-[License](#-license)
17
+
## π Contributing Guide
24
18
19
+
We always welcome your contributions.
20
+
Please see the [CONTRIBUTING guide](https://fosslight.org/fosslight-guide-en/learn/1_contribution.html) for how to contribute.
25
21
26
-
## π Prerequisite
27
-
- FOSSLight Binary Scanner needs a Python 3.6+.
28
-
- To use the function to extract OSS information (OSS Name, OSS Version, License) from Binary DB, see the [database setting guide][db_guide].
It can be installed using pip3. It is recommended to install it in the [python 3.6 + virtualenv](https://fosslight.org/fosslight-guide-en/scanner/etc/guide_virtualenv.html) environment.
34
-
35
-
```
36
-
$ pip3 install fosslight_binary
37
-
```
38
-
39
-
## π How to run
40
-
````
41
-
$ fosslight_binary -p [path_to_analyze]
42
-
````
43
-
### About parameters
44
-
45
-
| Parameter | Argument | Description |
46
-
| ------------- | ------------- | ------------- |
47
-
| h | None | Print help message. |
48
-
| p | String | Path to detect binaries. |
49
-
| o | String | Output directory. |
50
-
| f | String | Output filename. |
51
-
| a | String | Target architecture to output. (ex. x86-64, ARM) |
52
-
| d | String | DB Connection Information. (ex. postgresql://username:password@host:port/database_name) |
53
-
54
-
## π§ How it works
55
-
1. Extract binaries.
56
-
1-0. Excluding linked files and FIFO files from binaries.
57
-
1-1. Except when the extension is ['png', 'gif', 'jpg', 'bmp', 'jpeg', 'qm', 'xlsx', 'pdf', 'ico', 'pptx', 'jfif', 'docx',
Please report any ideas or bugs to improve by creating an issue in [Git Repository][repo]. Then there will be quick bug fixes and upgrades. Ideas to improve are always welcome.
0 commit comments