Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect go packages #15

Merged
merged 10 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ CLI_ARGS=$1
################################

# Requirement arguments passed to pip and used by default or with --dev.
REQUIREMENTS="--editable . --constraint requirements.txt"
DEV_REQUIREMENTS="--editable .[testing] --constraint requirements.txt --constraint requirements-dev.txt"
REQUIREMENTS="--editable . --constraint requirements.txt scancode-toolkit"
DEV_REQUIREMENTS="--editable .[testing] --constraint requirements.txt --constraint requirements-dev.txt scancode-toolkit"
DOCS_REQUIREMENTS="--editable .[docs] --constraint requirements.txt"

# where we create a virtualenv
Expand Down
6 changes: 3 additions & 3 deletions configure.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
@rem ################################

@rem # Requirement arguments passed to pip and used by default or with --dev.
set "REQUIREMENTS=--editable . --constraint requirements.txt"
set "DEV_REQUIREMENTS=--editable .[testing] --constraint requirements.txt --constraint requirements-dev.txt"
set "DOCS_REQUIREMENTS=--editable .[docs] --constraint requirements.txt"
set "REQUIREMENTS=--editable . --constraint requirements.txt scancode-toolkit"
set "DEV_REQUIREMENTS=--editable .[testing] --constraint requirements.txt --constraint requirements-dev.txt scancode-toolkit"
set "DOCS_REQUIREMENTS=--editable .[docs] --constraint requirements.txt scancode-toolkit"

@rem # where we create a virtualenv
set "VIRTUALENV_DIR=venv"
Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ python_requires = >=3.8
install_requires =
commoncode
plugincode
scancode-toolkit
typecode

[options.entry_points]
Expand Down
Binary file modified src/go_inspector/bin/GoReSym_lin
Binary file not shown.
12 changes: 6 additions & 6 deletions src/go_inspector/bin/GoReSym_lin.ABOUT
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
about_resource: GoReSym_lin
name: goresym
version: 2.7.2
download_url: https://github.com/mandiant/GoReSym/releases/download/v2.7.2/GoReSym.zip
package_url: pkg:github/mandiant/goresym@2.7.2?download_url=https://github.com/mandiant/GoReSym/releases/download/v2.7.2/GoReSym.zip
version: 011fc7d5c9c2362871dfe88a1295a43ee6b4d273
download_url: https://github.com/pombredanne/GoReSym/archive/011fc7d5c9c2362871dfe88a1295a43ee6b4d273.zip
package_url: pkg:github/pombredanne/GoReSym@011fc7d5c9c2362871dfe88a1295a43ee6b4d273
copyright: Copyright (c) 2022 MANDIANT
checksum_sha1: d1a3252a3a174c8baacbe16b8d060b3affc9d05b
checksum_sha256: 24c50fc10f169d36814b43da006bb5cd313baa04fcf94af99c730ef56eee62fe
license_expression: mit
license_text_file: GoReSym_lin.LICENSE
license_text_file: GoReSym_lin.LICENSE
notes: this is a patched version until https://github.com/mandiant/GoReSym/pull/60 is accepted
and merged.
510 changes: 510 additions & 0 deletions src/go_inspector/bin/GoReSym_lin.results.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/go_inspector/bin/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ sha256sum -c GoReSym.zip.sums
unzip -qd goresymzip GoReSym.zip
mv goresymzip/GoReSym_lin .
chmod u+x GoReSym_lin
strip GoReSym_lin

rm -rf GoReSym.zip goresymzip

# finally run a binary analysis on this GoReSym executable and update the ABOUT files accordingly
# finally run a binary analysis on this GoReSym executable, diff and update the ABOUT files accordingly
./GoReSym_lin -p -no-functions ./GoReSym_lin > GoReSym_lin.results.json
Loading
Loading