Skip to content

Commit

Permalink
Remove r option
Browse files Browse the repository at this point in the history
  • Loading branch information
soimkim authored Jul 24, 2024
1 parent cbb0863 commit a9254d5
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions scanner/6_android.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ fosslight_android 명령어를 실행합니다.
-t Collect NOTICE for binaries that are not added to NOTICE.html.
-d Divide needtoadd-notice.html by binary.
-i Disable the function to automatically convert OSS names based on AOSP.
-r <result.txt> result.txt file with a list of binaries to remove.
```
## 📁 결과
Expand Down Expand Up @@ -199,23 +198,6 @@ Source Code Path를 찾지 못하는 Binary별 Find command 실행 결과는 'FI
FOSSLight Android는 Binary DB에서 OSS 정보를 찾을 수 없는 경우이거나 OSS Name이 "Android Open Source Project"인 경우, Source Code Path를 기준으로 [Android Native](https://android.googlesource.com/platform)에 있는 저장소라면 OSS Name을 자동으로 출력해줍니다.
OSS Name 자동 완성 기능을 끄고자 할 경우 선택합니다.
### -r: 특정 binary를 FOSSLight Report에서 중복 제거
하나의 Model에 탑재하는 Android native와 vendor가 분리된 output으로 생성되는 경우에 한하여 활용합니다.
- vendor에 대한 FOSSLight Android 실행시 -r 옵션을 이용하여 Android native에도 포함되는 binary를 중복 제거합니다.
- 중복 제거 조건 : Binary name이 같고 checksum이 같거나, Binary name이 같고 TLSH 값 차이가 120이하인 경우
- 중복 제거된 binary는 REMOVED_BIN_BY_DUPLICATION.txt에 출력됩니다.
1. -r 옵션을 추가하여 실행합니다.
```commandline
(venv)$ fosslight_android -s [vendor_source_path] -a [android_build_log_file] -r [android_native_result.txt]
ex
(venv)$ fosslight_android -s [vendor_source_path] -a android.log -r android_native_result.txt
```
2. 결과 확인
android_native_result.txt와 중복된 binary는 FOSSLight-Report.xlsx에서 제거되고, REMOVED_BIN_BY_DUPLICATION.txt에 출력됩니다.
### -m: 소스 코드 분석하여 License 출력
License 정보를 못 찾은 경우에 한하여 FOSSLight Source를 이용하여 Source code를 분석한 결과를 License란에 출력합니다.
Expand Down

0 comments on commit a9254d5

Please sign in to comment.