Skip to content

Commit

Permalink
Update jar-callgraph.jar (#1454)
Browse files Browse the repository at this point in the history
* update jar-callgraph.jar
  • Loading branch information
JeffreyHuynh1 authored Aug 6, 2024
1 parent 5f03c78 commit 93514ae
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# FOSSA CLI Changelog

## Unreleased

## 3.9.29
- install scripts: Surface curl errors and display http status code correctly. ([#1456](https://github.com/fossas/fossa-cli/pull/1456))
- Update jar-callgraph version to 1.0.2 [#1454](https://github.com/fossas/fossa-cli/pull/1454)

## 3.9.28

Expand Down
6 changes: 3 additions & 3 deletions docs/features/vuln_reachability.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ cat fossa.debug.json | jq '.bundleReachabilityEndpoint'
}
```

FOSSA CLI uses [jar-callgraph-1.0.1.jar](../../scripts/jar-callgraph-1.0.1.jar) to infer call path edges.
FOSSA CLI uses `java -jar jar-callgraph-1.0.1.jar ./path/to/your/build.jar` command to record edges from
FOSSA CLI uses [jar-callgraph-1.0.2.jar](../../scripts/jar-callgraph-1.0.2.jar) to infer call path edges.
FOSSA CLI uses `java -jar jar-callgraph-1.0.2.jar ./path/to/your/build.jar` command to record edges from
the your target jar. If you are running into issues with reachability, please confirm that you can execute
`java -jar jar-callgraph-1.0.1.jar ./path/to/your/build.jar` on your environment.
`java -jar jar-callgraph-1.0.2.jar ./path/to/your/build.jar` on your environment.

<!--
## How do I debug reachability from endpoint?
Expand Down
Binary file not shown.
4 changes: 2 additions & 2 deletions src/App/Fossa/Reachability/Jar.hs
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ import System.FilePath qualified as FP
newtype CallGraphJarParser = CallGraphJarParser {jar :: BS.ByteString}
deriving (Eq, Ord, Show)

-- This jar is from: https://github.com/fossas/jar-callgraph/pull/52
-- This jar is from: https://github.com/fossas/jar-callgraph/pull/58
execJar :: CallGraphJarParser
execJar = CallGraphJarParser{jar = $(embedFile' "scripts/jar-callgraph-1.0.1.jar")}
execJar = CallGraphJarParser{jar = $(embedFile' "scripts/jar-callgraph-1.0.2.jar")}

withUnpackedPlugin ::
( Has (Lift IO) sig m
Expand Down

0 comments on commit 93514ae

Please sign in to comment.