Michael Pollmeier

Results 27 issues of Michael Pollmeier

Mostly refactoring, but one noteworthy change: in `TagTraversal` I dropped the `.sort` because it's a bad default: it only works if the entire traversal is in memory

time for `sbt test` (with everything precompiled) roughly halfes (128s -> 62s)

``` importCode.c("/home/mp/Projects/shiftleft/codescience/sptests/code/c/damn-vulnerable-c") cpg.method.fullName(".*codescience.*").l // 13 results, which mostly look like this: Method( id -> 51351L, astParentFullName -> "/home/mp/Projects/shiftleft/codescience/sptests/code/c/damn-vulnerable-c::", astParentType -> "NAMESPACE_BLOCK", code -> "", columnNumber -> None, columnNumberEnd -> None,...

In order to detect e.g. hardcoded secrets in configFiles, java2cpg creates `ConfigFile` nodes, and javasrc2cpg should do the same eventually. e.g. https://github.com/ShiftLeftSecurity/HelloShiftLeft -> java2cpg -> `cpg.configFile.size` -> 162

When creating a cpg for HSL, java2cpg includes the [inherited methods](https://github.com/spring-projects/spring-data-commons/blob/main/src/main/java/org/springframework/data/repository/CrudRepository.java) of the interface [CustomerRepository](https://github.com/ShiftLeftSecurity/HelloShiftLeft/blob/master/src/main/java/io/shiftleft/repository/CustomerRepository.java), while javasrc2cpg leaves them out. This difference seems to account for a large number of...

I wondered how I can actually use this library to run a simple gremlin graph traversal. ElasticGraphProvider looks promising, but that doesn't actually get shipped in your jar, as it...

question
documentation

This may be the root cause for other autocompletion-issues here. I was able to pin it down quite a bit (see below). But first, here's how to reproduce the issue:...

Fansi doesn't currently parse many standard-conform ansi encoded strings. E.g. we're using [source-highlight](https://www.gnu.org/software/src-highlite/source-highlight.html#ANSI-color-escape-sequences) to render coloured sourcecode, which on the terminal renders nicely coloured text: ```bash echo "if" > if.c...

It looks to me like adding the antlr specific sources to sbt's `managedSourceDirectories` (https://github.com/ihji/sbt-antlr4/blob/3d36e6c/src/main/scala/com/simplytyped/Antlr4Plugin.scala#L80) isn't a good idea, since sbt already has the root directory `src_managed` in the classpath (tested...

Hi Graham, I forked and amended dbdeploy to have the notion of a target version. Depending on the current version and we either perform an upgrade or downgrade. Theirfore I...