instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
99designs__gqlgen__3743
99designs/gqlgen
3,743
defect
3654b05c13483ee0f06d0f15300335856f00e7ef
21b1cb8104e58f8cef729062ae9e6d36dd34aa05
Improve gqlgen performance by bulking name only package loads
Describe your PR and link to any relevant issues. This is a performance improvement set to bulk load packages wherever possible - it has major performance implications - in a large monorepo it improved generation time from 1:30m to 24s I have: - [x] Added tests covering the bug / feature (see [testing](https:/...
diff --git a/codegen/config/config.go b/codegen/config/config.go index f1d2813f630..55560de2122 100644 --- a/codegen/config/config.go +++ b/codegen/config/config.go @@ -68,6 +68,14 @@ type Config struct { var cfgFilenames = []string{".gqlgen.yml", "gqlgen.yml", "gqlgen.yaml"} +// templatePackageNames is a list of ...
2
2
0
[{"id": "G0", "claim": "dedupPackages could be implemented in one pass, appending inside the loop instead of two passes over a map whose iteration order is random.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new exported LoadAllNames method lacks ...
null
99designs__gqlgen__3833
99designs/gqlgen
3,833
defect
ccb5a5b9cb4a12aa3b401a009c1721dce63331e4
d9edd6ba54160da1b50e6acff008b91d491d4775
Drop support for Go 1.23 and Add support for Go 1.25
The time has come to finally say good bye to Go 1.23 and hello to Go 1.25! Our official support policy (which I should definitely put into a document somewhere) is the same as the Go one: Each major Go release is supported until there are two newer major releases. We delay that by a bit sometimes because my curre...
diff --git a/.github/workflows/GOVERSION.txt b/.github/workflows/GOVERSION.txt index a6c2798a482..53cc1a6f929 100644 --- a/.github/workflows/GOVERSION.txt +++ b/.github/workflows/GOVERSION.txt @@ -1 +1 @@ -1.23.0 +1.24.0 diff --git a/.github/workflows/fmt-and-generate.yml b/.github/workflows/fmt-and-generate.yml index ...
1
1
0
[{"id": "G0", "claim": "The comment added by this pull request should link the official Go documentation domain (go.dev) instead of the tip.golang.org preview domain.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
99designs__gqlgen__3874
99designs/gqlgen
3,874
defect
b7ae0e11f7431e3906e10eeed8d8330be057fc31
67c5fd80649b5bee7d6c33e29d4c5e70cf84f73a
[NEW] perf: Optimize CollectFields calculation for non-primitive array fields
## Relates to https://github.com/99designs/gqlgen/pull/3868 This PR improves performance "**without modifying template files"**. 🎊 ## Description Hello there, thank you for maintaining this excellent library. I have discovered a performance issue that significantly impacts applications at scale. When mar...
diff --git a/graphql/collect_fields_cache_integration_test.go b/graphql/collect_fields_cache_integration_test.go new file mode 100644 index 00000000000..b401687c5b0 --- /dev/null +++ b/graphql/collect_fields_cache_integration_test.go @@ -0,0 +1,184 @@ +package graphql + +import ( + "testing" + + "github.com/stretchr/te...
4
2
1
[{"id": "G0", "claim": "The unsafe-based cache key may hide intermittent data races or production-only failures that are extremely hard to trace, and the author should validate it with the race detector or otherwise remove the risk before merging.", "category": "correctness", "verdict": "supported", "priority": "P1", "...
null
99designs__gqlgen__3913
99designs/gqlgen
3,913
defect
86219747d14729ae8a01205ac7fdd94c8f813607
9b040eb635dde7d9b5b3e4736414abda975157a7
Migrate from archived go-yaml to goccy/go-yaml
Replaces gopkg.in/yaml.v3 with github.com/goccy/go-yaml to address the archived status of the original library and ensure continued maintenance and security updates. ## Changes: - Updated go.mod dependency to github.com/goccy/go-yaml v1.18.0 - Updated import and decoder API in codegen/config/config.go - Added def...
diff --git a/codegen/config/config.go b/codegen/config/config.go index fc744b4b0f6..0010f3e25f0 100644 --- a/codegen/config/config.go +++ b/codegen/config/config.go @@ -12,10 +12,10 @@ import ( "sort" "strings" + "github.com/goccy/go-yaml" "github.com/vektah/gqlparser/v2" "github.com/vektah/gqlparser/v2/ast" ...
3
2
2
[{"id": "G0", "claim": "The fuzz test seeds might be easier to read and maintain either consolidated into one f.Add call or kept as actual config YAML files in testdata/ instead of multiple inline f.Add calls.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", ...
null
99designs__gqlgen__3954
99designs/gqlgen
3,954
defect
9aa9cd58cbe02565b60b3f2d1041e9c45b6dffe1
dbda20e0b452bc8a114d9692df298d9b3825465f
fix(codegen): correctly unmarshal slice of input object mapped to map…
This fix #3953 I have: - [x] Added tests covering the bug / feature (see [testing](https://github.com/99designs/gqlgen/blob/master/TESTING.md)) - [ ] Updated any relevant documentation (see [docs](https://github.com/99designs/gqlgen/tree/master/docs/content))
diff --git a/codegen/config/binder.go b/codegen/config/binder.go index 921714ae489..2d47547380a 100644 --- a/codegen/config/binder.go +++ b/codegen/config/binder.go @@ -421,7 +421,7 @@ func (b *Binder) TypeReference( return &TypeReference{ Definition: def, GQL: schemaType, - GO: MapType,...
1
1
1
[{"id": "G0", "claim": "The pull request appears to have some test failures currently.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
99designs__gqlgen__3984
99designs/gqlgen
3,984
defect
af6d73569592b37b57121028e32abc73282e8dea
de683e70fc97af92129d6c909c53bb2efff599b9
Support directives in comments
[Issue #3983](https://github.com/99designs/gqlgen/issues/3983): Support directives in comments When regenerating resolvers, currently all the comments in directives disappear, including `//nolint`. This PR fixes the problem by replacing the `go/ast` usage of [CommentGroup.Text()](https://pkg.go.dev/go/ast#Comme...
diff --git a/internal/rewrite/rewriter.go b/internal/rewrite/rewriter.go index 909cfe71b99..868accc7a68 100644 --- a/internal/rewrite/rewriter.go +++ b/internal/rewrite/rewriter.go @@ -101,9 +101,27 @@ func (r *Rewriter) GetPrevDecl(structname, methodname string) *ast.FuncDecl { func (r *Rewriter) GetMethodComment(s...
1
1
0
[{"id": "G0", "claim": "The test expectation should carry a nolint comment (\"// nolint: dupword // this is for the test\") so the duplicated-word linter does not flag the deliberately duplicated \" comment\" line.", "category": "testing", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
99designs__gqlgen__3987
99designs/gqlgen
3,987
defect
319534bd0f0a9e485d19934558908c017b0f3a9b
e579e34cfb1d05b6dcf608316ab093f98de4963d
Reformat after merge to fix lint
There were a number of formatting nits introduced in some recent PRs that I merged without waiting for the authors to circle back. this fixes them. There's a few prealloc lint warnings... which probably should get fixed as well Signed-off-by: Steve Coffman <steve@khanacademy.org>
diff --git a/_examples/mini-habr-with-subscriptions/internal/storage/db/resolvers.go b/_examples/mini-habr-with-subscriptions/internal/storage/db/resolvers.go index 62d371a85dd..8272f9b81ad 100644 --- a/_examples/mini-habr-with-subscriptions/internal/storage/db/resolvers.go +++ b/_examples/mini-habr-with-subscriptions/...
1
1
0
[{"id": "G0", "claim": "Preallocate mapDataFiles with make([]string, 0, len(filesGroup)) instead of an empty slice literal.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
99designs__gqlgen__4042
99designs/gqlgen
4,042
defect
983369b6daf6df58702965a1d87b55fd724a5d1d
c822ab29520fd1580edf550f0d885d3f66063254
feat: add incremental code generation for follow-schema layout
Add support for incremental code generation that only regenerates files for schemas affected by changes. This significantly reduces generation time for large schemas when only a subset of schema files have changed. New features: - DependencyGraph: tracks cross-schema type references - GetAffectedSchemas: computes ...
diff --git a/api/generate.go b/api/generate.go index 17973ee1b03..f24dc4d9786 100644 --- a/api/generate.go +++ b/api/generate.go @@ -24,7 +24,30 @@ var ( ) // regex to grab the version number from a url ) +// Generate generates GraphQL code based on the provided config. func Generate(cfg *config.Config, option .....
2
1
0
[{"id": "G0", "claim": "Reading the entire generated file and comparing its bytes before skipping the write may degrade performance.", "category": "performance", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The author should run `golangci-lint fmt ./... --config=./.golangci.y...
null
99designs__gqlgen__4088
99designs/gqlgen
4,088
defect
82bf8457f1df0a7073b5f45ef70e8b95eb09cba8
c1823ea40873e0006a4ab2f68e2e3d00f22e211e
Ignore headers from body
The http_post transport erroneously unmarshalled the headers into the RawParams. A maliciously crafted request body could add or alter request headers before calling the resolvers. Any resolvers that used the Headers from the OperationContext would get the altered headers. Changed the order the params.Headers are...
diff --git a/graphql/handler.go b/graphql/handler.go index e9978b76d65..7eed2059bc1 100644 --- a/graphql/handler.go +++ b/graphql/handler.go @@ -27,8 +27,8 @@ type ( OperationName string `json:"operationName"` Variables map[string]any `json:"variables"` Extensions map[string]any `json:"extension...
1
1
0
[{"id": "G0", "claim": "In UrlEncodedForm.Do, replace `params, err = h.parseBody(bodyString)` with `params, err := h.parseBody(bodyString)` and drop the redundant early `params := &graphql.RawParams{}` allocation whose value is discarded when parseBody returns a fresh RawParams.", "category": "maintainability", "verdic...
null
99designs__gqlgen__4111
99designs/gqlgen
4,111
defect
1e89eaaea4e1a84b3c839e2dcf3e87d02fcf442a
e4c04b91e22df36c68b5ec5480e74924c731414d
refactor: fix modernize lint issues
This PR enables all `modernize` analyzers and fixes their lint issues. Changes: - Replace deprecated `reflect.Ptr` with `reflect.Pointer` - Use `reflect.TypeFor` instead of reflect.TypeOf. - Use `for i := range n` instead of `for i := 0; i < n; i++` - Use the built-in `min` func.
diff --git a/.golangci.yml b/.golangci.yml index a82b5e24631..c43ffa787e4 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -95,14 +95,6 @@ linters: modernize: disable: - any - - fmtappendf - - minmax - - rangeint - - reflecttypefor - - stditerators - - str...
1
1
1
[{"id": "G0", "claim": "With the modernize analyzers (e.g. rangeint) now enabled, multiple classic counting loops in non-excluded packages (codegen/field.go:348, internal/code/compare.go:59, _examples/todo/todo.go:133, _examples/starwars/benchmarks_test.go:28) are likely to start failing lint, so either those occurrenc...
null
99designs__gqlgen__634
99designs/gqlgen
634
defect
5df0938f0dfa6418457a23b31c5bd1b3bc7e879d
ed7fca127d03badbf1135960b32e35502ab71d87
Use graphql.String for types wrapping a basic string
Adds a special case that allows `type Foo string` to fallback to calling whatever marshaler is defined for String. Not the cleanest approach, but it closes out the regression until we have a better solution. Fixes #595 I have: - [x] Added tests covering the bug / feature (see [testing](https://github.com/99...
diff --git a/codegen/config/binder.go b/codegen/config/binder.go index e8b3c459220..3a4360c1e7d 100644 --- a/codegen/config/binder.go +++ b/codegen/config/binder.go @@ -158,9 +158,11 @@ func (b *Binder) PointerTo(ref *TypeReference) *TypeReference { newRef := &TypeReference{ GO: types.NewPointer(ref.GO), ...
1
1
0
[{"id": "G0", "claim": "The new IsMarshaler and BaseType fields of TypeReference, which the reviewer believed are only set together, should be wrapped into a struct, and the name BaseType is too generic for a field on a struct used everywhere.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "...
null
99designs__gqlgen__701
99designs/gqlgen
701
defect
e49d44f7464a05347691bfa9ed9eab44bf4ffe5f
70d52fae4f3057defb58c40f6b54fd5e0c26ed4e
Use pointers when embedding structs in generated structs
modelgen currently tries to turn ```graphql type LoopA { b: LoopB! } type LoopB { a: LoopA! } ``` into ```go type LoopA struct { B LoopB } type LoopB struct { A LoopA } ``` Which is invalid. This PR adds pointers whenever embedding a struct in a struct to avoid this. Fixes #5...
diff --git a/codegen/testserver/generated.go b/codegen/testserver/generated.go index d10e371039f..9d80dd8afee 100644 --- a/codegen/testserver/generated.go +++ b/codegen/testserver/generated.go @@ -117,6 +117,14 @@ type ComplexityRoot struct { ID func(childComplexity int) int } + LoopA struct { + B func(childCom...
1
1
0
[{"id": "G0", "claim": "The generated model fields use an unintended double pointer (**ExistingType) — lwc asks whether this is intentional.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
9elements__converged-security-suite__213
9elements/converged-security-suite
213
defect
ec9d075847a31e105cb701d9e06f7f3780e9373a
32276dd1093daf4292a874f7b796740127aa9b98
Rename bg-prov to cbnt-prov
#210 Signed-off-by: Christopher Meis <christopher.meis@9elements.com>
diff --git a/.circleci/config.yml b/.circleci/config.yml index 10f9781a..a11e9d95 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,12 +25,12 @@ jobs: #- run: golint -set_exit_status ./pkg/intel/metadata/manifest/key - run: golint -set_exit_status ./cmd/txt-suite - run: golint -se...
1
1
0
[{"id": "G0", "claim": "The obsolete /bg-prov entries that the rename left behind in .gitignore should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
9seconds__mtg__409
9seconds/mtg
409
defect
d32e8e8b9731b6edb83c0ec9211bca9ec63913ab
80213ad35dd62297bef399e6b762052742a56aeb
Add dynamic cert noise calibration for FakeTLS handshake
Closes #408 ## Summary The hardcoded noise range (2500-4700 bytes) in the FakeTLS ServerHello doesn't match the real certificate chain sizes for many popular fronting domains. This makes the proxy detectable by DPI that compares ApplicationData size with the actual cert chain size for the SNI domain. Measured sizes ...
diff --git a/internal/cli/run_proxy.go b/internal/cli/run_proxy.go index 643f6454d..1deac95aa 100644 --- a/internal/cli/run_proxy.go +++ b/internal/cli/run_proxy.go @@ -267,6 +267,10 @@ func runProxy(conf *config.Config, version string) error { //nolint: funlen DoppelGangerPerRaid: conf.Defense.Doppelganger.Repeats....
2
2
2
[{"id": "G0", "claim": "The PR duplicates the existing doppelganger scout component by adding a separate cert-probing module that makes its own service requests to the front; the measurement functionality should be moved into scout so that TLS-front statistics are collected in one place.", "category": "design", "verdic...
null
9seconds__mtg__426
9seconds/mtg
426
defect
a2de52f0712f7b568e605923a72cee367814cedb
73c6a3aa37315a3e6f66185f1faa8e032e915d88
fix: stabilize flaky CI tests
Fixes #425 ## Summary - **Data race in `ScoutConnCollected`**: add `sync.Mutex` to protect `Add()`/`MarkWrite()` from concurrent access by HTTP transport readLoop. Add `Snapshot()` method so `learn()` reads a consistent copy instead of iterating live slices. - **Bloom filter false negatives**: increase test filter s...
diff --git a/antireplay/stable_bloom_filter_test.go b/antireplay/stable_bloom_filter_test.go index accb590eb..8c88ce2e5 100644 --- a/antireplay/stable_bloom_filter_test.go +++ b/antireplay/stable_bloom_filter_test.go @@ -12,7 +12,7 @@ type StableBloomFilterTestSuite struct { } func (suite *StableBloomFilterTestSuit...
2
2
0
[{"id": "G0", "claim": "Snapshot's manual make+copy could use slices.Clone instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The MarkWrite goroutine's `_ = len(data)` reads in TestConcurrentAddSnapshot are a purposeless operation and shoul...
null
9tigerio__db2rest__313
9tigerio/db2rest
313
defect
3becdd29d7971226b7e3330d9613155e8a1c75c2
c8b8e24465a75282acdc313b59e2682be68065dd
Feature/issue 58
* created OncePerRequestFilter for api key verification * loading key information to auth context on successful verification
diff --git a/src/main/java/com/homihq/db2rest/auth/ApiKeyAuthFilter.java b/src/main/java/com/homihq/db2rest/auth/ApiKeyAuthFilter.java new file mode 100644 index 00000000..fcff1bfd --- /dev/null +++ b/src/main/java/com/homihq/db2rest/auth/ApiKeyAuthFilter.java @@ -0,0 +1,51 @@ +package com.homihq.db2rest.auth; + +impor...
6
5
3
[{"id": "G0", "claim": "The unkey.dev API domain should not be hardcoded but read from an environment variable, because unkey can be deployed without the cloud version.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "VerifyKeyResponse can be a record...
null
9tigerio__db2rest__825
9tigerio/db2rest
825
defect
a07dedac1103d06a06814ee382df5395e12b7437
c0bd60f440ddab77215d918a8ae523b73d0f6558
Feature/823 integration tests iso datetime
Integration tests added with different ISO date time formats for all the rdbms databases
diff --git a/api-rest/src/test/java/com/homihq/db2rest/BaseIntegrationTest.java b/api-rest/src/test/java/com/homihq/db2rest/BaseIntegrationTest.java index 58b21897..c7265593 100644 --- a/api-rest/src/test/java/com/homihq/db2rest/BaseIntegrationTest.java +++ b/api-rest/src/test/java/com/homihq/db2rest/BaseIntegrationTes...
1
1
0
[{"id": "G0", "claim": "Add a few more valid ISO date-format test cases (EDTF and special inputs like `1999.008`, `J2451187`, `infinity`, reduced precision, ordinal date, UTC, intervals) where the dialects support them out-of-the-box, and adjust the test response expectations accordingly for each dialect since many wil...
null
9tigerio__db2rest__908
9tigerio/db2rest
908
defect
179d04edaded05968d95050f035700a392544fdf
1016381d2a7cf491ab09eb54ccf227cb00846f02
FIX for https://github.com/9tigerio/db2rest/issues/907
Added Transaction template to persist transactions
diff --git a/db2rest-core/rdbms-support/src/main/java/com/homihq/db2rest/jdbc/core/service/JdbcFunctionService.java b/db2rest-core/rdbms-support/src/main/java/com/homihq/db2rest/jdbc/core/service/JdbcFunctionService.java index f5ddd9ab..f7856966 100644 --- a/db2rest-core/rdbms-support/src/main/java/com/homihq/db2rest/j...
1
1
1
[{"id": "G0", "claim": "The pull request should add tests, based on the examples in the linked issue #907, for the stored procedure/function execution it changes (one test for each supported database, per M004).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
AFLplusplus__AFLplusplus__1259
AFLplusplus/AFLplusplus
1,259
defect
4217a6606c92f6a88ab577ae8f91823dd731562d
751e09f47b0449d57105e533087e49ce34bce0b4
Adjustments to unicorn docs and speedtest sample
With this PR, I am proposing some adjustments to the docs about AFL++ in Unicorn mode. While checking out the speedtest sample, I realized some of the commands provided were wrong, but also that the second part of the README seems to refer to a different example. I think the purpose of this one is to compare the spe...
diff --git a/unicorn_mode/README.md b/unicorn_mode/README.md index 0f28cf9657..392a3254b4 100644 --- a/unicorn_mode/README.md +++ b/unicorn_mode/README.md @@ -9,7 +9,7 @@ The CompareCoverage and NeverZero counters features are by Andrea Fioraldi <andr ## 1) Introduction The code in ./unicorn_mode allows you to buil...
3
3
0
[{"id": "G0", "claim": "The Cargo.toml package should not be renamed to `unicornafl`; the reviewer prefers keeping the current name or using `harness` like the other samples.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The speedtest README st...
null
AFLplusplus__AFLplusplus__2174
AFLplusplus/AFLplusplus
2,174
defect
6e37f9b237ed12193688c86b6a527f32793f157e
4369d6209fc8040d130645ce5578ca4f43f3b7bd
Fixed lsan defaults evaluation
There is a [bug](https://github.com/AFLplusplus/AFLplusplus/issues/2176) in the evaluation of the lsan default parameters inside void set_sanitizer_defaults(). This is causing the following behavior: ``` pre-DEFAULT: ASAN_ENV: detect_leaks=false pre-DEFAULT: LSAN_ENV: (null) DEFAULTs: ASAN_ENV: detect_leaks=false ...
diff --git a/frida_mode/src/instrument/instrument_coverage.c b/frida_mode/src/instrument/instrument_coverage.c index a546dc2454..140072dd80 100644 --- a/frida_mode/src/instrument/instrument_coverage.c +++ b/frida_mode/src/instrument/instrument_coverage.c @@ -878,7 +878,6 @@ void instrument_coverage_unstable_find_output...
1
1
1
[{"id": "G0", "claim": "The PR's replacement of the `detect_leaks=0` strstr check with `detect_leaks=false` is wrong or at best unnecessary: detect_leaks=0 is the documented boolean form and \"false\" does not exist for ASAN's detect_leaks flag, so the changed condition may no longer match users' existing ASAN_OPTIONS ...
null
AFLplusplus__AFLplusplus__392
AFLplusplus/AFLplusplus
392
defect
a550df43011e41ff5d3ba6c125a410d4374211fc
a5d554c3ef250f5ef84f9c66fb24c262332701d1
Push to master
Basically this has: wildcard support in whitelist (llvm mode so far only) fix for timed read to also working on non-linux shmem fuzzing for persistent mode (and unicorn at time we merge) fuzzbench driver for shmem (not of interesting to anyone else ;) master/slave renaming powerpc and other 64 bit sup...
diff --git a/GNUmakefile b/GNUmakefile index 8f55939152..dd817d3524 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -101,7 +101,7 @@ endif ifeq "$(shell uname -s)" "OpenBSD" override CFLAGS += -I /usr/local/include/ - LDFLAGS += -L /usr/local/lib/ + LDFLAGS += -Wl,-z,notext -L /usr/local/lib/ endif ifeq "$(s...
2
1
0
[{"id": "G0", "claim": "The example uses the odd magic constant 2147483647 in __AFL_LOOP without explanation; add a comment saying what it means (rather than using a MAX_INT constant).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If the sync dir...
null
AFLplusplus__AFLplusplus__499
AFLplusplus/AFLplusplus
499
defect
b38837f4ff8f2e52597b7908b9226500e5c61933
7a6867e2f8e8b698c08366f79d0c8751b09ce431
important push to stable
this is not an urgent PR but one I do not want to get cluttered with lots of other commits, so this gets reviewed properly. besides the llvm change that implements ctor + ifunc instrumentation skipping for all llvm there is this: 1. when fuzzing a binary in qemu that was instrumented, the map is cluttered with th...
diff --git a/TODO.md b/TODO.md index e81b82a342..f8ef0e0f85 100644 --- a/TODO.md +++ b/TODO.md @@ -4,6 +4,8 @@ - AFL_MAP_SIZE for qemu_mode and unicorn_mode - CPU affinity for many cores? There seems to be an issue > 96 cores + - feature for afl-showmap to generate the coverage for all queue entries + - afl-plot ...
4
2
1
[{"id": "G0", "claim": "There is some code duplication in initInstrumentList() between the allowlist and denylist handling (pre-existing code, as the reviewer notes).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The Changelog entry's abbrevi...
null
AFLplusplus__AFLplusplus__601
AFLplusplus/AFLplusplus
601
defect
82d1c3e18dd1b90fa15f7c056f94dc1a06ee345d
20a8a93fd193f7526f5e3d0cd1dfa43df9d2c4f6
Fixing symcc custom mutator
Changed symcc custom mutator to work both with stdin and file-input targets and fixed several errors in the mutator. Added two example targets for easy tests in the future. Added printing fo enqueued items (otherwise afl seems stuck during initial processing of huge input corpus). Fixed the problem where symcc overwrot...
diff --git a/custom_mutators/symcc/symcc.c b/custom_mutators/symcc/symcc.c index 18b475b866..ab3d70ca9e 100644 --- a/custom_mutators/symcc/symcc.c +++ b/custom_mutators/symcc/symcc.c @@ -1,7 +1,10 @@ +#define _GNU_SOURCE #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <string.h> +#include <unist...
4
4
3
[{"id": "G0", "claim": "The buffer `fn` allocated by alloc_printf is leaked on the early PFATAL path taken when the enqueued file cannot be found.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The bare exit(-1) on pipe creation failure should be re...
null
AFLplusplus__AFLplusplus__607
AFLplusplus/AFLplusplus
607
defect
4c59c5234aec0469e4dd02561dbd84387bd53155
c06b5a156480d70e5013a780bb41bd074637475c
push to stable
in the last big PR to stable I fixed a crash in the syncing (that was also in vanilla afl afaik), but that fix broke the syncing ... so we should push to stable once more.
diff --git a/.gitmodules b/.gitmodules index 3ad6e10c50..7c7613ac6a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,4 +7,4 @@ url = https://github.com/AFLplusplus/Grammar-Mutator [submodule "qemu_mode/qemuafl"] path = qemu_mode/qemuafl - url = https://github.com/AFLplusplus/qemuafl.git + url = https://github.com/...
8
1
0
[{"id": "G0", "claim": "The PR author should confirm that the early 'return;' that disables the body of WriteToFile is intended to remain as dead code.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G2", "claim": "The early 'return;' at the top of DumpCurrentUnit ...
null
AFLplusplus__AFLplusplus__918
AFLplusplus/AFLplusplus
918
defect
72ca9b4684981ce2b807e4efd218bd1924f3e6b1
f15f29baf21a92fa192cc1740e6ac58df1e62f57
FASAN Support
After looking at the implementation used by libAFL and QASAN. I opted for a different approach because: * libAFL doesn't cater for load-widening * QASAN has it's shadow memory in the host rather than the guest. After many different failed attempts, the resulting implementation is actually very simple. The Addres...
diff --git a/frida_mode/include/asan.h b/frida_mode/include/asan.h new file mode 100644 index 0000000000..7a8726e097 --- /dev/null +++ b/frida_mode/include/asan.h @@ -0,0 +1,13 @@ +#ifndef _ASAN_H +#define _ASAN_H + +#include "frida-gum.h" + +extern gboolean asan_initialized; + +void asan_init(void); +void asan_arch_in...
1
1
1
[{"id": "G0", "claim": "The hard-coded LIBASAN path (/usr/lib/llvm-10/...) in frida_mode/test/fasan/GNUmakefile will break on so many platforms and the makefile should use llvm-config (requiring the LLVM_CONFIG env var if needed) to locate the ASan runtime instead.", "category": "portability", "verdict": "supported", "...
null
AFLplusplus__AFLplusplus__964
AFLplusplus/AFLplusplus
964
defect
c69edc2b3cc6c9d58c1d10385555817d6d1c43b0
413b7871f39fa4c6eb57431d76fd9c752b8bb0a8
split-comparison llvm pass refactor for smaller compilation times (and a small bug fix)
I have a large target that I compile with LTO and I noticed that the comparison splitting was very slow. So painfully slow that I decided to investigate. I believe the reason was that the pass unnecessarily loops over the whole llvm module multiple times, which takes quite some time when using full LTO on a somewhat la...
diff --git a/instrumentation/split-compares-pass.so.cc b/instrumentation/split-compares-pass.so.cc index b02a89fb00..fc5d6733d5 100644 --- a/instrumentation/split-compares-pass.so.cc +++ b/instrumentation/split-compares-pass.so.cc @@ -47,40 +47,90 @@ using namespace llvm; #include "afl-llvm-common.h" +// uncomment ...
4
3
2
[{"id": "G0", "claim": "The refactored split-compares pass miscompiles signed comparisons: with the volatile short test case (a=-1, b=1) the assert on a<b (and the other comparisons) fails when compiled with -DINT_TYPE=\"short\", and test cases should work.", "category": "correctness", "verdict": "supported", "priority...
null
AFLplusplus__LibAFL__3176
AFLplusplus/LibAFL
3,176
defect
977189174b709d02ca3ec05127c16b63bd665946
50e12d3b2db8b803d0729535332c3f9720d0b65a
librasan: Support patching Thumb functions
## Description ARMv7 has two instruction sets: Thumb2 and ARM. ARM CPUs switch to Thumb state when they jump to a target address if the least significant bit of the address is set to 1. While `libc` can be compiled with ARM or Thumb instructions entirely, mixed instruction sets are also possible. This can happen whe...
diff --git a/libafl_qemu/librasan/asan/src/patch/raw.rs b/libafl_qemu/librasan/asan/src/patch/raw.rs index 8add18e2de9..b308229babf 100644 --- a/libafl_qemu/librasan/asan/src/patch/raw.rs +++ b/libafl_qemu/librasan/asan/src/patch/raw.rs @@ -14,6 +14,8 @@ pub struct RawPatch; impl Patch for RawPatch { type Error...
6
4
1
[{"id": "G0", "claim": "The PR should make sure it has tests showing that both ARM and Thumb functions can be hooked successfully, and skip the negative (expected-to-crash) tests.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Thumb-mode check shoul...
null
AFLplusplus__qemu-libafl-bridge__102
AFLplusplus/qemu-libafl-bridge
102
defect
06c738f64a4a92d5fc8184c9b5a9fe9340f4a63f
6bc6c5e11ba95b54d86dd5760998b9f7c78fda1b
afl-bridge: fix race between main thread and a vCPU thread
In some cases qemu_main_loop() can exit before libafl_sync_exit_cpu() completes. This will case race between Rust code that restarts QEMU and vCPU thread that updates last_exit_reason. What I observed is libafl_exit_signal_vm_start() from a new iteration cleared last_exit_reason.cpu before libafl_sync_exit_cpu() tri...
diff --git a/accel/tcg/tcg-accel-ops-rr.c b/accel/tcg/tcg-accel-ops-rr.c index c59c77da4b3..5ce6b4596ac 100644 --- a/accel/tcg/tcg-accel-ops-rr.c +++ b/accel/tcg/tcg-accel-ops-rr.c @@ -169,6 +169,12 @@ static int rr_cpu_count(void) return cpu_count; } +//// --- Begin LibAFL code --- + +#include "libafl/exit.h" ...
1
1
1
[{"id": "G0", "claim": "Propagate the EXCP_LIBAFL_EXIT handling added to the RR CPU thread loop to accel/tcg/tcg-accel-ops-mttcg.c as well.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
AFLplusplus__qemu-libafl-bridge__28
AFLplusplus/qemu-libafl-bridge
28
defect
e42124c0c8363184ef286fde43dce1d5c607699b
bbd52db5f67a88ef4f85a54cfe9688eaec3cb226
Fix wrong dirty address tracking for MMIO accesses. Assert is only triggered for debug builds.
It is still required to check whether the fix is enough to avoid wrong dirty page reports. For now, the assert is ignored in release builds.
diff --git a/accel/tcg/cputlb.c b/accel/tcg/cputlb.c index 38b1029b570..2723559970d 100644 --- a/accel/tcg/cputlb.c +++ b/accel/tcg/cputlb.c @@ -1830,7 +1830,8 @@ static bool mmu_lookup(CPUState *cpu, vaddr addr, MemOpIdx oi, //// --- Begin LibAFL code --- - if (type == MMU_DATA_STORE) { + //...
1
1
1
[{"id": "G0", "claim": "Add an if to return from syx_snapshot_dirty_list_add_hostaddr in case rb is NULL.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
AI-Citizen__SolidGPT__68
AI-Citizen/SolidGPT
68
defect
972d22922fc6efe5e179b0dd2bc734905aa72f10
7fe78300f76f8fdadeab6fcbf0ddb7c668b6bf70
Xr llama dev
I have add llama manager. Also I add the llama2 for write prd skill and llama analysis
diff --git a/requirements.txt b/requirements.txt index 131151f3..e2b0b894 100644 --- a/requirements.txt +++ b/requirements.txt @@ -33,3 +33,4 @@ redis==4.6.0 rq==1.15.1 eventlet==0.33.3 tiktoken==0.5.1 +text-generation==0.6.1 diff --git a/solidgpt/src/configuration/Configuration.yaml b/solidgpt/src/configuration/Con...
3
3
0
[{"id": "G0", "claim": "Rename the WritePRD skill class to WritePRDLlama to point out it is a llama2 skill.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the ProductAnalysis skill class likewise to indicate it is a llama2 skill.", "categ...
null
AI-Provenance__ai-dev-memory__5
AI-Provenance/ai-dev-memory
5
defect
0c24171cfd8e7b61791a229ece2a985327da0cad
868cc0c0947fba80fe443981a8447b6cb5a291b1
feat: add status info for the cursor rules
DevMemory new status output: ```bash $ devmemory status DevMemory Status ┌────────────────────┬──────────────────────────────────────────────────┐ │ DevMemory version │ 0.1.2 │ │ Git AI │ 1.1.3 ...
diff --git a/devmemory/commands/status.py b/devmemory/commands/status.py index 93c16ee..44d0130 100644 --- a/devmemory/commands/status.py +++ b/devmemory/commands/status.py @@ -68,4 +68,27 @@ def run_status(): else: table.add_row("Cursor MCP config", "[yellow]not configured[/yellow] (run: devmemory instal...
8
5
5
[{"id": "G0", "claim": "pyproject.toml was bumped to 0.1.2 but devmemory/__init__.py hardcodes __version__ to 0.1.0, so after release `devmemory status` will report an incorrect version; derive it from package metadata or update the constant as part of the bump so they stay in sync.", "category": "correctness", "verdic...
null
AJenbo__phpantom_lsp__51
AJenbo/phpantom_lsp
51
defect
742fc0f5f2a070b0e4367e0ea5d5b5a70b602829
d72eaf9d74b11d80730e0e127051964478568fa6
Add support for signature help for `new self`, `new static` and `new parent` expressions
Hey, I'm new to the codebase so might choose the wrong paths to fix things, but this PR fixes the following 2 issues that are related to each other: 1. Signature help for `new self`, `new static` and `new parent` expressions was not working. 2. Auto completion for `new self`, `new static` and `new parent` expression ...
diff --git a/src/completion/call_resolution.rs b/src/completion/call_resolution.rs index 5f1cc342a..5e18689fb 100644 --- a/src/completion/call_resolution.rs +++ b/src/completion/call_resolution.rs @@ -190,6 +190,20 @@ impl Backend { } } + /// Resolve class name keywords (`self`, `static`, `parent`) t...
3
3
1
[{"id": "G0", "claim": "The early `return` in `build_class_keyword_completions` means only one keyword completion is ever offered — typing `new s` inside a class returns `self` and never offers `static` — so the function should return `Vec<CompletionItem>` collecting all matches, with the `parent` item appended at the ...
null
ANLAB-KAIST__rust-dpdk__27
ANLAB-KAIST/rust-dpdk
27
defect
f9f36c4325fbed079199bd62c52f1b976b4b1f36
bcdf470b8f95c0fd751c989d79f2b4e5ac391288
Implement EAL APIs
- [x] Persist 관련 renaming 수행 - [x] Global functions (TSC counter 등등) 구현
diff --git a/dpdk-sys/bin/dpdk_sys_test.rs b/dpdk-sys/bin/dpdk_sys_test.rs index 97681f9..9bbe4af 100644 --- a/dpdk-sys/bin/dpdk_sys_test.rs +++ b/dpdk-sys/bin/dpdk_sys_test.rs @@ -19,7 +19,6 @@ fn main() { let argc = c_argv.len(); let ret = dpdk_sys::rte_eal_init(argc as c_int, argv.as_ptr() as *mut ...
11
9
0
[{"id": "G0", "claim": "Eliminate dpdk/src/prelude.rs (and the prelude module) and re-export the EAL API from eal.rs instead, since users of Eal's static functions have to know the trait anyway.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The step com...
null
ANLAB-KAIST__rust-dpdk__34
ANLAB-KAIST/rust-dpdk
34
defect
feca226fd0dcf96a6c1675e9a3f1b48d77c4de84
f0118f870f134a670b606a41f54abc0df536f160
(wip) thread mapping
스레드, 패킷 IO 관련 추상화 빌드업 중입니다. 체크포인트마다 검토 요청드리겠습니다. - [x] 스레드 추상화 - [x] 포트 추상화 (맥주소 등 기본 정보) - [x] RX 추상화 - [x] 패킷 내용 읽기/쓰기 추상화 - [x] TX 추상화
diff --git a/dpdk/Cargo.toml b/dpdk/Cargo.toml index 142017b..481be3d 100644 --- a/dpdk/Cargo.toml +++ b/dpdk/Cargo.toml @@ -20,6 +20,7 @@ thiserror = "1" etrace = "1" log = "0.4" simple_logger = "1" +anyhow = "1.0" [lib] name = "dpdk" diff --git a/dpdk/bin/dpdk_test.rs b/dpdk/bin/dpdk_test.rs index 5315985..c0d...
2
1
0
[{"id": "G0", "claim": "The reviewer questions why this library needs the anyhow dependency when thiserror is already the error-handling library, and asks whether thiserror could be used here instead.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The Er...
null
ANLAB-KAIST__rust-dpdk__41
ANLAB-KAIST/rust-dpdk
41
defect
221d30c4b473d8fe1b526797770aa672fc7517aa
71b870efaac2460a4581ee5c9ec36003698d6e7f
Add `is_link_up`.
포트가 초기화 된 후 (장비 켜짐) 연결된 랜선을 인식해서 링크가 형성될 때 까지 (랜카드에서 초록불 점멸) 시간 간격이 문제인 것 같습니다. 해당 기능 보완하였습니다. @lkaybob 해당 내용 참고부탁드리며 혹시 교수님께서 간단한 수정사항 주시면 이 브랜치에 직접 반영해주셔도 좋을 것 같습니다.
diff --git a/dpdk/bin/dpdk_test.rs b/dpdk/bin/dpdk_test.rs index f6a3c64..006cc1d 100644 --- a/dpdk/bin/dpdk_test.rs +++ b/dpdk/bin/dpdk_test.rs @@ -14,6 +14,12 @@ fn sender(eal: Eal, mpool: MPool, tx_queue: TxQ) { let tx_port = tx_queue.port(); info!("Start TX from {:?}", tx_port.mac_addr()); + // Wait ...
3
2
1
[{"id": "G0", "claim": "The private helper should be named `get_link` rather than `_get_link`, since a non-underscored name is fine for a private function.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The link-up wait should be moved out of th...
null
ANSSI-FR__MLA__94
ANSSI-FR/MLA
94
defect
950fac064043ddaf5756b46c4af3d3b939505c0c
36c8538cb9697f809987867df4e6b8a139fbdcbf
Addressing issue #15
I didn't see any contribution guidelines, so I allow myself to open this PR to address issue ANSSI-FR/MLA#15. Let me know if I've correctly understood what the feature should be. I haven't wrote any test yet, because I have some trouble dealing with non-empty temporary directory and using stdin. I will try to work o...
diff --git a/mlar/src/main.rs b/mlar/src/main.rs index 517697e7..1dcd31b5 100644 --- a/mlar/src/main.rs +++ b/mlar/src/main.rs @@ -18,8 +18,8 @@ use mla::{ use rand::SeedableRng; use rand_chacha::ChaChaRng; use std::collections::{HashMap, HashSet}; -use std::fs::{self, File}; -use std::io; +use std::fs::{self, read_...
1
1
0
[{"id": "G0", "claim": "The test should build its expected file list by actually parsing and recursively retrieving filenames from the directory path (as done in `mlar`) instead of only checking for the presence of one file and one directory.", "category": "maintainability", "verdict": "supported", "priority": "P2", "s...
null
ANYbotics__grid_map__244
ANYbotics/grid_map
244
defect
e0dcc058cb4994a08eeabe019314320152993131
c8c1cca9af3975cf2523e5297f95e129f591f671
[ros2] grid_map_octomap port
* Linted files * Updated package.xml & CMakeLists.txt * Added ocotmap as a dependency to ros2_dependencies.repos
diff --git a/.circleci/config.yml b/.circleci/config.yml index 6101fe431..f685ccf61 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,7 +25,7 @@ jobs: $UNDERLAY_WS/ros2_dependencies.repos vcs import src < ros2_dependencies.repos rosdep install -y --ignore-src -...
2
2
0
[{"id": "G0", "claim": "Once octomap is released for Foxy, remove it from the CI setup: drop the ros2_dependency on it and stop building it from source in the CI config.", "category": "build", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out add_dependencies blo...
null
ANYbotics__grid_map__270
ANYbotics/grid_map
270
defect
5e91ba3f0330cf840616e10f50a3918b6f577bdf
2f70c4ee9e125be9c250117f14c1fb6f777c70bb
Fix CI for ROS2
This fixes CI failure for ros2 branch. Changes made: * removed unnecessary dependencies in repos file (rcpputils, rosbag2, pcl_msgs can be installed by rosdep) * fixed test failure in grid_map_ros package
diff --git a/.circleci/config.yml b/.circleci/config.yml index 5defdadd8..bda8f2807 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,7 +23,7 @@ jobs: cd $UNDERLAY_WS && vcs import src < ros2_dependencies.repos DEBIAN_FRONTEND=noninteractive rosdep install -y --ignore-src --...
2
1
1
[{"id": "G0", "claim": "The rcpputils::fs::create_directories(dir) calls the pull request adds to the rosbag handling tests are unnecessary because rosbag2_cpp already creates the required directory, and rosbag2_cpp should remain being built from source until the binaries are updated or the CI is changed to use nightly...
null
ANYbotics__grid_map__78
ANYbotics/grid_map
78
defect
8ee9737262ae77864b08f5f9297add4ca9c1f0ba
0b85d3d52ee086884ae2acc7d2137a33eb7033bb
Feature/costmap conversion
Adds a new conversion for Costmap2D types from ROS Navigation (#76).
diff --git a/README.md b/README.md index c571b3a4c..cd3ec64c5 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Features: * **Efficient map re-positioning:** Data storage is implemented as two-dimensional circular buffer. This allows for non-destructive shifting of the map's position (e.g. to follow the robot) ...
1
1
1
[{"id": "G0", "claim": "getSizeInMetersX()/getSizeInMetersY() do not return what you would expect (e.g. 9.5 for 10x1m cells, since it returns the centre of the last legal cell), so the code should use getSizeInCellsX()/getSizeInCellsY() multiplied by the resolution instead.", "category": "correctness", "verdict": "supp...
null
AOL-archive__cyclops__727
AOL-archive/cyclops
727
defect
62b086fa22e44f983f016908f393261098310dd9
3bbb4356664e2a384310716d4bfa9809c20604f0
Declared and implemented intercalate method on interface IndexedSequenceX
Declared and implemented intercalate method on interface IndexedSequenceX
diff --git a/src/main/java/com/aol/cyclops2/data/collections/extensions/IndexedSequenceX.java b/src/main/java/com/aol/cyclops2/data/collections/extensions/IndexedSequenceX.java index 90c651f3dd..b920f5cdc9 100644 --- a/src/main/java/com/aol/cyclops2/data/collections/extensions/IndexedSequenceX.java +++ b/src/main/java/...
2
2
1
[{"id": "G0", "claim": "The intercalate method should return ListX<R> and take List<List<R>>, and should be checked to work when the parameter is a plain List<List<Integer>> as well as subclasses like ListX<ListX<Integer>>.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":...
null
AOL-archive__micro-server__138
AOL-archive/micro-server
138
defect
79e165b19a5c261767e60f822452b2752e591391
a0cefe7b10a3f53c6d4d77c00596801e8ea59dd1
micro-alive-handler module for implementing alive handlers
Problem of implementing alive handler often arise in production tasks (either it required by load balancer or by monitoring system). This module can solve this problem by providing simple framework for building this handlers.
diff --git a/micro-alive-handler/build.gradle b/micro-alive-handler/build.gradle new file mode 100644 index 000000000..5e3446628 --- /dev/null +++ b/micro-alive-handler/build.gradle @@ -0,0 +1,67 @@ +description = 'micro-alive-handler' + +dependencies { + compile project(':micro-core') + + testCompile project(':micro-...
1
1
0
[{"id": "G0", "claim": "The injected `repository` field of AliveHandlerRest should be declared final.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
AOL-archive__micro-server__161
AOL-archive/micro-server
161
defect
9388b3277947d084b065162172847e7284b11fec
2abab444ff455bf60c940160b36c52d855a22381
s3 utility methods for listing all objects
New class S3Utils for method, that can simplify work with s3,
diff --git a/micro-s3/src/main/java/com/aol/micro/server/s3/S3Utils.java b/micro-s3/src/main/java/com/aol/micro/server/s3/S3Utils.java new file mode 100644 index 000000000..52f2e0e90 --- /dev/null +++ b/micro-s3/src/main/java/com/aol/micro/server/s3/S3Utils.java @@ -0,0 +1,40 @@ +package com.aol.micro.server.s3; + +imp...
2
1
1
[{"id": "G0", "claim": "S3Utils should be made a Spring bean.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Javadoc should be added to S3Utils, as part of the public API.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": ...
null
AOL-archive__micro-server__173
AOL-archive/micro-server
173
defect
64cd193a1eef0c6e08b1b5a5b57a424530f0d673
d051358891a832faae8275c846f42cc871a0c802
Cleanup bean for s3. Will clean required folder on startup if enabled
s3.temp.dir - directory to be cleaned up (null by default). s3.temp.cleanupOnStart - flag to control whenever directory should be cleaned up on startup (false by default) If s3.temp.cleanupOnStart is enabled and there are some issues with temp directory (wrong permissions), application will fail at startup.
diff --git a/micro-s3/src/main/java/com/aol/micro/server/s3/CleanupFileVisitor.java b/micro-s3/src/main/java/com/aol/micro/server/s3/CleanupFileVisitor.java new file mode 100644 index 000000000..acb6d7605 --- /dev/null +++ b/micro-s3/src/main/java/com/aol/micro/server/s3/CleanupFileVisitor.java @@ -0,0 +1,35 @@ +packag...
2
1
0
[{"id": "G0", "claim": "cleanupOnStart should only be true if the s3.temp.dir setting is not null and the directory exists.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The class S3Utils should be renamed to something like S3Access.", "category": ...
null
AOL-archive__micro-server__245
AOL-archive/micro-server
245
defect
feeab2061a6196dd5aab10fd0920fe6690162107
4fcc70de55bf7814c8323fbd1551f56532d7af7e
Micro metrics datadog
created datadog plug-in for micro-server and fixed a bug in the micro-event-metrics plugin
diff --git a/gradle.properties b/gradle.properties index 769780436..a5f949d45 100644 --- a/gradle.properties +++ b/gradle.properties @@ -19,6 +19,7 @@ slf4jVersion=1.7.13 aspectJVersion=1.8.7 jtaVersion=1.1 springMetricsVersion=3.1.3 +datadogMetricsVersion=1.1.6 apacheHttpClientVersion=4.5.1 apacheHttpClientVersio...
2
2
1
[{"id": "G0", "claim": "johnmcclean asks arunbcodes to write a readme.md for the new datadog plugin that explains to users what it does and how to use it.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "tonyfinn suggests the readme should list (at ...
null
AOL-archive__micro-server__396
AOL-archive/micro-server
396
defect
84f2f0f4a1aec211bc6131107fca98a49862fe42
64cdad6444d6deb4b030c3f403017cb67fe0a8a3
Clean and format code following details on editorconfig.
Changes: - Remove extra lines. - Remove extra spaces. - Remove tabs. - Organize code for 4 spaces. - Sort elements on a sequence with items per line if required.
diff --git a/micro-async-data-loader/build.gradle b/micro-async-data-loader/build.gradle index edaaaa4b7..41685946a 100644 --- a/micro-async-data-loader/build.gradle +++ b/micro-async-data-loader/build.gradle @@ -25,7 +25,6 @@ modifyPom { artifactId 'micro-async-data-loader' version "$version" - scm { ...
1
1
1
[{"id": "G0", "claim": "The build is failing; it may not be related to this change, but it is worth taking a look.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
AOL-archive__micro-server__406
AOL-archive/micro-server
406
defect
0bf8b95569b0ad306156ddd4a6958293ec3155ad
34eec663386c998630be507282a663d8868e0935
Update dependencies
Spring 5 Spring Boot 2 Latest Jersey, Grizzly, Tomcat & Hibernate
diff --git a/build.gradle b/build.gradle index 6df924ef2..3eab0c1b4 100644 --- a/build.gradle +++ b/build.gradle @@ -20,6 +20,7 @@ subprojects { apply plugin: 'java' apply plugin: 'groovy' + apply plugin: 'maven' if (project.name != "micro-tutorial") { apply plugin: 'com.bmuschko.nexus' diff --git a/...
13
9
2
[{"id": "G0", "claim": "Remove the empty Gradle dependency brackets around the micro-jersey testCompile block in micro-boot/build.gradle.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Clean up the stray blank lines / spacing in the new Microser...
null
AOL-archive__micro-server__420
AOL-archive/micro-server
420
defect
246c054cd4a54278bbcf474dc09938ca11a57988
cbcc1a757a5192b98b45545f9d96db27b12f14b4
update micro-boot to Spring Boot with plugins:
micro-boot now runs as a Spring Boot app (supporting non-jersey front ends) with Microserver plugins (rest / web end points unavailable directly). <!-- The following line must be included in your pull request --> I confirm that this contribution is made under the terms of the license found in the root directory of ...
diff --git a/gradle.properties b/gradle.properties index 529c79932..d23e55150 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -version=1.1.4 +version=1.2.0 springVersion=5.1.7.RELEASE springBootVersion=2.1.5.RELEASE jerseyVersion=2.28 diff --git a/micro-application-register/src/main/java/com/o...
4
4
0
[{"id": "G0", "claim": "Remove the dead commented-out assertion in RegistryTest.runAppAndBasicTest.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the extra whitespace-only lines in BootPlugin.java.", "category": "maintainability", "verdi...
null
AOL-archive__micro-server__6
AOL-archive/micro-server
6
defect
ba93858ee74616574c7899ae2380decaf4f49e56
8c142d7a0ab04ce151125887574ad72cf9318f95
allow default jax-rs packages to be overriden
Allow default jax-rs packages to be overriden using configurable module. e.g. ConfigurableModule.builder().defaultJaxRsPackages(asList("new packages","go here").build(); also can choose between extending and overwriting the defaults To overwrite everything : ConfigurableModule.builder().resetAll(true).defaultJaxR...
diff --git a/micro-core/src/main/java/com/aol/micro/server/module/ConfigurableModule.java b/micro-core/src/main/java/com/aol/micro/server/module/ConfigurableModule.java index afcbeba1f..0fe643383 100644 --- a/micro-core/src/main/java/com/aol/micro/server/module/ConfigurableModule.java +++ b/micro-core/src/main/java/com...
2
2
0
[{"id": "G0", "claim": "The new Builder(Map) constructor should initialize the HashMap with a proper initial capacity (e.g. via the HashMap(Map) copy constructor) instead of the default capacity, so storing many mappings avoids automatic rehashing.", "category": "performance", "verdict": "supported", "priority": "P2", ...
null
AOL-archive__micro-server__93
AOL-archive/micro-server
93
defect
0c2abd1cc941ba9216f6d656d45655d99d224d05
d99273492194a8def29b4bc51bd62493cb8ec27e
Micro curator
Curator framework plugin for zookeeper. Right now it only proves Semaphore lock.
diff --git a/gradle.properties b/gradle.properties index 8ae54e848..9f76a7623 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ version=0.76 springVersion=4.2.3.RELEASE springBootVersion=1.3.0.RELEASE -jerseyVersion=2.22.1 +erseyVersion=2.22.1 grizzlyVersion=2.3.23 simpleReactVersion=0.99.5 c...
2
2
0
[{"id": "G0", "claim": "The curatorFramework field of CuratorDistributorLockServiceProvider should be declared final (private final CuratorFramework curatorFramework).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In DistributedLockServiceCurat...
null
AOMediaCodec__libavif__1008
AOMediaCodec/libavif
1,008
defect
ad711d19c84621ace23eb53cb9b1a096c43371d5
a5c1e90865fb075242910b0006b24d30bcebe05a
Add support RGB565 format
RGB565 [1] is a pixel format used by Android. It stores each pixel in 2 bytes (with 5, 6 and 5 bits respectively for R, G and B channels). This is used in some older android devices which have low RAM to minimize the size of bitmaps on those devices. [1] https://developer.android.com/reference/android/graphics...
diff --git a/android_jni/avifandroidjni/src/main/jni/libavif_jni.cc b/android_jni/avifandroidjni/src/main/jni/libavif_jni.cc index 2ad5284eaf..b3c3525a54 100644 --- a/android_jni/avifandroidjni/src/main/jni/libavif_jni.cc +++ b/android_jni/avifandroidjni/src/main/jni/libavif_jni.cc @@ -127,8 +127,9 @@ FUNC(jboolean, de...
12
8
2
[{"id": "G0", "claim": "As of now only the 420-to-565 matrix is supported in the libyuv path, so RGB565 conversion is only accelerated for YUV420; the author intends to add 422 and 444 to libyuv first and then update the code here.", "category": "performance", "verdict": "uncertain", "priority": "P2", "scope": "introdu...
null
AOMediaCodec__libavif__1032
AOMediaCodec/libavif
1,032
defect
b27d16b933162bb0a5bb40a45cd9bf53d11b9a7d
4c5c0f3db6982517cfa9d7e2478084bc7807bb95
Refactor libyuv yuv->rgb conversion with function pointers
Use function pointers and look up tables based on RGB and YUV image formats to call the appropriate libyuv function. This eliminates a lot of repeated code (which can be error prone when copy-pasting, refactoring, etc). It also makes adding new libyuv functions simpler. Tested with several AVIF images and the ...
diff --git a/src/reformat_libyuv.c b/src/reformat_libyuv.c index 37d8f12b59..3199c600a2 100644 --- a/src/reformat_libyuv.c +++ b/src/reformat_libyuv.c @@ -341,6 +341,24 @@ avifResult avifImageYUVToRGBLibYUV(const avifImage * image, avifRGBImage * rgb) return AVIF_RESULT_NOT_IMPLEMENTED; } +// These defines are ...
14
9
2
[{"id": "G0", "claim": "Fix the duplicated word in the comment: \"used to to create\" should read \"used to create\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The [7][5] lookup-table dimensions would be easier to understand if the meaning of...
null
AOMediaCodec__libavif__1279
AOMediaCodec/libavif
1,279
defect
a8d6d1b098f08677e5a0c587e1bfb88d552b656f
493d59dbbe60c44dbd92112f4c18444986dfc69d
Check OOM in avifImageCreate, avifEncoderCreate
The goal is to remove the abort() call from avifAlloc() once all libavif functions check potential out-of-memory errors. Bug: https://github.com/AOMediaCodec/libavif/issues/820
diff --git a/CHANGELOG.md b/CHANGELOG.md index a0d8fb012b..c3368082a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 There are incompatible ABI changes in this release. The clli member was added to the avifImage struct. The...
10
10
3
[{"id": "G0", "claim": "The avif.h comment on avifImageCreate()/avifImageCreateEmpty() should say a memory allocation failed rather than name an error code, and should make clear that out-of-memory is not the only reason avifImageCreate() can fail (or document the API contract that it faithfully sets width, height, dep...
null
AOMediaCodec__libavif__1309
AOMediaCodec/libavif
1,309
defect
c37032feaad616529e24d9eea9d9b20ae7c0c57a
af6a5e4ab9e74bf55903a8ac6914309b3b13610f
avifRGBImageAllocatePixels() returns avifResult
To catch out-of-memory issues. Bug: https://github.com/AOMediaCodec/libavif/issues/820
diff --git a/CHANGELOG.md b/CHANGELOG.md index 2786bd826d..f760dd016e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ List of incompatible ABI changes in this release: those pointers. * Check the return value of avifEncoderSetCodecSpecificOption(). * The maxThreads member was added to the avifRGBIma...
5
4
1
[{"id": "G0", "claim": "tests/avifyuv.c should output all of its error messages to stderr instead of stdout.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "avifRGBImageAllocatePixels() should leave rgb->rowBytes at 0 when it returns AVIF_RESULT_OUT_OF_M...
null
AOMediaCodec__libavif__1831
AOMediaCodec/libavif
1,831
defect
b1e92f1a854987e57fb7f20d7807f399643fa7ff
8419d65be304bb1cfb7643daca554eb60b73786f
Add CICP enum aliases
See https://github.com/AOMediaCodec/libavif/issues/1825.
diff --git a/CHANGELOG.md b/CHANGELOG.md index 08a77e768b..d64e5574f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -43,6 +43,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Add imageSequenceTrackPresent flag to the avifDecoder struct. * avifImageScale() function was made par...
4
2
0
[{"id": "G0", "claim": "AVIF_COLOR_PRIMARIES_SMPTE432 (12) should also get an alias named AVIF_COLOR_PRIMARIES_DCI_P3, since \"P3\"/\"DCI-P3\" is a much more common name for it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new AVIF_TRANSFE...
null
AOMediaCodec__libavif__834
AOMediaCodec/libavif
834
defect
f732a4d240d1562151685b71e822d0ba3a352ad9
b3cc3bcaecb1822a85adcceb38f58c0427ecb81b
Move checks to avifAreGridDimensionsValid()
It was possible to encode a 65x65 4:2:0 image with avifenc that could not be decoded with avifdec. Calling avifAreGridDimensionsValid() from both encoding and decoding pipelines removes this asymmetric behavior.
diff --git a/include/avif/avif.h b/include/avif/avif.h index 48e147fcda..919c0012d3 100644 --- a/include/avif/avif.h +++ b/include/avif/avif.h @@ -411,6 +411,16 @@ AVIF_API avifBool avifCleanApertureBoxConvertCropRect(avifCleanApertureBox * cla avifPixelFormat yuvF...
10
9
4
[{"id": "G0", "claim": "There is no test coverage ensuring the encode/decode roundtrip described in the commit message.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The requirements on imageW and imageH are overly strict, so the PR could choose not to...
null
AOMediaCodec__libavif__849
AOMediaCodec/libavif
849
defect
380d91a64a2a8a3a408766070227b5c6369ce234
e5ff1690e1ef1d45e54c82270b9d1091b586be38
Fix signed/unsigned mismatch and loss-of-data conversion warnings for CL in new avif tests
MS' CL emits signed/unsigned comparison warnings and `uint32_t` -> `uint16_t` conversion warnings in these places. This should fix them. Nit: We don't really have any explicit code style conventions for libavif, but ternarys in a for loop conditional hurts readability a bit, and I'd prefer in the future if those wer...
diff --git a/tests/avifgridapitest.c b/tests/avifgridapitest.c index 410c93331e..a204b25171 100644 --- a/tests/avifgridapitest.c +++ b/tests/avifgridapitest.c @@ -29,7 +29,7 @@ static avifBool createImage(int width, int height, int depth, avifPixelFormat yu uint32_t uvWidth = ((*image)->width + formatInfo.chromaSh...
2
1
1
[{"id": "G0", "claim": "Changing the literal 1 to 1U does not remove the signed/unsigned mismatch in the loop condition, since AVIF_PLANE_COUNT_YUV is defined as signed 3, so the comparison may still warn; it would be simpler to declare plane as int (with a local planeCount).", "category": "correctness", "verdict": "su...
null
AOMediaCodec__libavif__854
AOMediaCodec/libavif
854
defect
e234f67f3b1b3fc5b32afb984dbd358ccdedda2d
1b4438448f13e4c168982a8bea8af771b3789a00
Fix FillImageGrid() yuvFormat assertion for alpha
Also fix AVIF_PIXEL_FORMAT_NONE comment. Also adapt avifgridapitest to cover this use case and >8 bit depths. An avifImage with NONE as yuvFormat means there is no YUV pixel, but alpha samples can still be present, which is the way tiles are decoded. See how yuvFormat is left to NONE for alpha images in aomCodec...
diff --git a/include/avif/avif.h b/include/avif/avif.h index 0edafdcbb5..aa085683de 100644 --- a/include/avif/avif.h +++ b/include/avif/avif.h @@ -187,7 +187,7 @@ AVIF_API void avifRWDataFree(avifRWData * raw); typedef enum avifPixelFormat { - // No pixels are present + // No YUV pixels are present. Alpha pla...
3
3
0
[{"id": "G0", "claim": "The `createAlpha` parameter added to createImage(), encodeGrid() and encodeDecode() should use the avifBool type instead of int (all occurrences in tests/avifgridapitest.c).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "...
null
AOMediaCodec__libavif__923
AOMediaCodec/libavif
923
defect
bceac50f55215ec3075b8e1e3b234becb0dbfbad
90971bb70171e30f8dfacde1ab4bb634192776d8
Split avifincrtest.c into avifincrtest_helpers.c
To reduce the file size and to be able to reuse some test functions from a C++ fuzz target. First commit is only to branch the file for easier diff view.
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index faacdd034b..08f26f231c 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -21,7 +21,7 @@ endif() target_link_libraries(avifgridapitest avif ${AVIF_PLATFORM_LIBRARIES}) add_test(NAME avifgridapitest COMMAND avifgridapitest) -add_executable(a...
1
1
1
[{"id": "G0", "claim": "Add a copyright notice to the new header tests/avifincrtest_helpers.h.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
AOMediaCodec__libavif__924
AOMediaCodec/libavif
924
defect
0f859433126bb00ded52ad5bf7b6f22673455aef
702970dc9f0582c67b06de9d78a2a38292856833
Convert some tests to C++ and GoogleTest
Convert feature-oriented, unit tests to C++ and to the GoogleTest testing framework. Migrating remaining C behaviors will be done in another change (`goto`, casts, etc.). Migrating other test targets (avifincrtest) will be done in another change. Keep aviftest in C with no GoogleTest dependency as a minimum test suit...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d401d05b7..d4e4458d9e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,6 +41,7 @@ jobs: working-directory: ./ext run: bash rav1e.cmd - name: Build SVT-AV1 + if: steps.cache-ext.outputs.cache-hit !=...
26
24
0
[{"id": "G0", "claim": "The CI CMake flags should use =ON instead of =1 for consistency with the rest of the command line.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "AVIF_BUILD_GTESTS should automatically enable AVIF_BUILD_TESTS so that a single CMake...
null
AOMediaCodec__libavif__969
AOMediaCodec/libavif
969
defect
9b431859f897843d83b6b670516c90ff432e4046
865c5a64e3263348562232332d4d0a99bf43a0f8
Move unit tests to tests/unit
`aviftest.c` is a generic encode/decode test so it can stay in `tests/`. `avifyuv.c` is more a conversion benchmarking tool than a unit test so it can stay in `tests/`. Move other test files to `tests/unit/`. It will allow to use a separate `.clang-tidy` config file once all files in `tests/unit` are converted to C++...
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 49c0d7c304..93602d3b0e 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -5,6 +5,9 @@ # at once with CMake's ctest command line tool from the build folder. enable_testing() +#################################################################...
3
2
0
[{"id": "G0", "claim": "Consider moving tests/CMakeLists.txt into the unit tests directory and moving aviftest.c and avifyuv.c back to the top-level CMakeLists.txt.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new subdirectory should be named `gtest`...
null
AOMediaCodec__libavif__974
AOMediaCodec/libavif
974
defect
135e045659fc6ffcff4084bef7abe5b162d880e4
51e3f5fc806dfef9ff1032c8ebd82bc4d9305fac
Convert avifmetadatatest to C++ and GoogleTest
The first commit only renames the file for easier diff when viewing the second commit.
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 93c4f40c92..b625499dd3 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -52,13 +52,6 @@ endif() target_link_libraries(avifincrtest avifincrtest_helpers) add_test(NAME avifincrtest COMMAND avifincrtest ${CMAKE_CURRENT_SOURCE_DIR}/data/sofa_g...
3
2
0
[{"id": "G0", "claim": "In \"using\" declarations the namespace should be prefixed with \"::\" (e.g. `using ::testing::Bool;`).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The ASSERT_EQ checks on the decoded metadata sizes (and the ones below...
null
AOMediaCodec__libavif__978
AOMediaCodec/libavif
978
defect
633af6c8bfea044d9b65a688ff5235c3906b0e85
56fe449bd2e2c8232daf98b0eaec8819d9a45e5d
Convert tests/gtest/avifincrtest to C++ and GTest
The first renaming commit only exists for easier diff.
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index b625499dd3..d7a721440b 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -42,16 +42,6 @@ endforeach() ################################################################################ # GoogleTest -add_library(avifincrtest_helpers OBJECT gt...
1
1
1
[{"id": "G0", "claim": "The pull request uses designated initializers (e.g. `const avifCropRect rect { .x = ..., .y = ... }`) in tests/gtest/avifincrtest_helpers.cc, which are a C++20 feature and do not compile under the project's C++11 standard.", "category": "correctness", "verdict": "supported", "priority": "P1", "s...
null
APKLab__APKLab__117
APKLab/APKLab
117
defect
f8a6af951f906c3d4d6841c890d99e9c598e2f82
2190c95c39f5d594a81fd286de4d8c807e4cef50
Add deobfuscation args to jadx
As the title says. Add all options for deobfuscation in the drop-down menu when opening an APK.
diff --git a/src/interface.ts b/src/interface.ts index f9ad07e..04d31c2 100644 --- a/src/interface.ts +++ b/src/interface.ts @@ -49,10 +49,7 @@ export namespace UI { const quarkAnalysisIndex = args.indexOf("quark_analysis"); let decompileJava = false; let quarkAnalysis...
4
4
3
[{"id": "G0", "claim": "The --deobf-min and --deobf-max quick-pick entries will not work as they need an extra integer input which is not implemented, so they should be left out for now until a proper UX (webview or settings) exists.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intro...
null
APKLab__APKLab__122
APKLab/APKLab
122
defect
c41c958b3b81380fbaecb25596781b5900d8eddf
e3a6fee0a2a559cdf746977111555db038a9acc4
refactor project src dir structure
This PR: - moves & decouples all external tools in their own source file under `tools` - moves all helper code in `utils` - fixes a DeepScan alert regarding `for-in` loop This will help with better organization/isolation of code-base for various tools and improves readability/consistency. Needs some sanity tes...
diff --git a/src/config.json b/src/data/config.json similarity index 100% rename from src/config.json rename to src/data/config.json diff --git a/src/common.ts b/src/data/constants.ts similarity index 100% rename from src/common.ts rename to src/data/constants.ts diff --git a/src/extension.ts b/src/extension.ts index b...
3
2
1
[{"id": "G0", "claim": "The applyMitmPatches function in src/tools/apk-mitm.ts should be exported wrapped inside a namespace, continuing the same pattern used by the other tool modules.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The functions in th...
null
APKLab__APKLab__92
APKLab/APKLab
92
defect
5afe396b48b9dccb452e74c27bb84be69229d2b9
f4d2c9aa2c56061743887f45299a148b0d52cb2f
Quark-Engine integration
# Quark-Engine integration ### Requirements: - Python 3.7+ - Quark-Engine 21.01.3+ ### Add "Quark Analysis" option Add "Quark Analysis" as one of the "decode quick pick" items. Then Quark will be executed after the decompilation of Jadx. And the report will appear as a JSON file in the decoded direc...
diff --git a/package.json b/package.json index 6f04b1f..4c79ebc 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,8 @@ "activationEvents": [ "workspaceContains:apktool.yml", "onCommand:apklab.openApkFile", - "onCommand:apklab.emptyFrameworkDir" + "onCommand:apklab.emptyFrame...
8
8
5
[{"id": "G0", "claim": "The apklab.quarkReport command should be hidden from the command palette because it depends on a quarkReport.json file path that cannot be passed from there.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Prefixing the quark ...
null
ARM-software__CMSIS_6__282
ARM-software/CMSIS_6
282
defect
593be3a01877a113e198fb91f2591667bb9b859b
5e30ff2d366e26224bdebf5eeea0cb57d236b564
Add TI Arm Clang Compiler Support to CMSIS Core Validation
Update build scripts to utilize TI Arm Clang Compiler in Core Validation: - Adds `Clang_TI` option to build script. - Updates GitHub workflows to include `Clang_TI` - Adds new filter for TI supported devices. - Adds new filter for Core Validation supported devices to replace commented code. - Updates CMSIS Toolb...
diff --git a/.github/workflows/corevalidation.yml b/.github/workflows/corevalidation.yml index c7bc55d1e..f47716605 100644 --- a/.github/workflows/corevalidation.yml +++ b/.github/workflows/corevalidation.yml @@ -21,12 +21,16 @@ jobs: strategy: fail-fast: true matrix: - compiler: [AC6, GCC, Cl...
9
7
4
[{"id": "G0", "claim": "If the TI Clang CoreValidation tests are to be executed in GitHub CI, the corevalidation.yml workflow should be updated to run them.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Getting the TI compiler into the workflow without...
null
ARM-software__CMSIS_6__94
ARM-software/CMSIS_6
94
defect
d8151ca2778d8f4c497f4cb7c381fb7bfc2007e7
5a3d1150e7488efdf75fa8d4ad5b68cba4c6c146
Restructure Core tests
- Move tests into src subfolder - Use temp directory for intermediate object files - Include test report in matrix summary
diff --git a/CMSIS/Core/Test/README.md b/CMSIS/Core/Test/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/CMSIS/Core/Test/bkpt.c b/CMSIS/Core/Test/bkpt.c deleted file mode 100644 index a0682e110..000000000 --- a/CMSIS/Core/Test/bkpt.c +++ /dev/null @@ -1,10 +0,0 @@ -// RUN: %cc% %ccflags% %ccout% ...
1
1
0
[{"id": "G0", "claim": "The filter_gcc_cm85 function in CMSIS/Core/Test/build.py could be removed if the arm-none-eabi-gcc version is increased to 13.2.1 in vcpkg-configuration.json.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
ARM-software__ComputeLibrary__1181
ARM-software/ComputeLibrary
1,181
defect
20ac1b444f73fc7c06a09ca1d756c0cbb969ed9d
9181c677ee4f0f4f40792628b3d37e3c6c0008ef
perf: Add FP16 GEMM MMUL Reshaped Only Rhs Kernel
This patch introduces a GEMM routine that is optimized for Arm(R) Mali(TM)-G1 Resolves: [COMPMID-8311], [COMPMID-8312] Change-Id: I84e685f0314da9af1c3fbb50d83e68b355727770
diff --git a/arm_compute/core/CL/CLHelpers.h b/arm_compute/core/CL/CLHelpers.h index 578c764d012..5bb12de93c1 100644 --- a/arm_compute/core/CL/CLHelpers.h +++ b/arm_compute/core/CL/CLHelpers.h @@ -276,6 +276,14 @@ void set_unroll_with_pragma(CLBuildOptions &built_opts, std::initializer_list<in */ bool arm_matrix_mul...
20
19
2
[{"id": "G0", "claim": "Fix the typos in the new FP16 validation error messages (\"N must be greater that N0 * MMUL_N0\" should read \"greater than\", and the M messages should read \"greater than or equal to\").", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1...
null
ARM-software__ComputeLibrary__1184
ARM-software/ComputeLibrary
1,184
defect
932f76793a94b66ac1b2a43d924754399a9bc647
40d8f9a89a0539439994dad9bb00f4cea604a826
feat: enable F32 output in CpuGemmConv2d
- Updated convolution reference to branch epilogue: * TO=float: int32 to float dequant (acc * sA * sB + bias_f32) * TO!=float: usual quantize_down_scale_by_fixedpoint with int32 bias - Changed fixture to use F32 bias tensor for Q->F32 runs (instead of S32), matching arm_gemm dequant epilogue which only supports ...
diff --git a/src/cpu/operators/CpuGemmConv2d.cpp b/src/cpu/operators/CpuGemmConv2d.cpp index 65ad643774f..a839c880d35 100644 --- a/src/cpu/operators/CpuGemmConv2d.cpp +++ b/src/cpu/operators/CpuGemmConv2d.cpp @@ -287,12 +287,29 @@ void CpuGemmConv2d::configure_mm(const ITensorInfo *src, } GE...
7
6
1
[{"id": "G0", "claim": "The debug std::cout print statements added to the validation fixture are not intentional and should be removed.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The print_simpletensor debug call added to the reference convolution f...
null
ARM-software__ComputeLibrary__1223
ARM-software/ComputeLibrary
1,223
defect
d4207ceac5c8c8d378f97fc659b262f340ffc8b5
cd92dffd49e74d0ca1617b6ea5a534b792ba651e
feat: Add experimental support for FreeBSD(R) OS
Hi, This PR implements support for the FreeBSD os. I tested on aarch64 and amd64.
diff --git a/SConscript b/SConscript index 5a0cff7f5cb..b48ec48c486 100644 --- a/SConscript +++ b/SConscript @@ -399,7 +399,7 @@ arm_compute_env = env.Clone() version_file = arm_compute_env.Command("src/core/arm_compute_version.embed", "", action=create_version_file) arm_compute_env.AlwaysBuild(version_file) -defau...
6
5
2
[{"id": "G0", "claim": "The README should list FreeBSD under Supported Systems as experimental, with the (R) symbol as for the other systems, and call it out under the Trademarks and Copyrights subsection as the FreeBSD Foundation's trademark guidance requires.", "category": "documentation", "verdict": "supported", "pr...
null
ARM-software__ComputeLibrary__1237
ARM-software/ComputeLibrary
1,237
defect
fd55df0883b750fc7688124d4726aecf8bb3ef56
b9f9d340ae1910d3b2ac173581386f7d5301360f
fix: Invalid kernel heuristics and validation for small N in Fp16 MMUL kernel in CL backend
Kernel: - Correct heuristic and validation conditions for selecting the FP16 MMUL Reshaped RHS kernel. - Remove invalid test case for FP16 MMUL Reshaped RHS kernel Partially resolves: [COMPMID-8727] Change-Id: Ib594f2100bf59f13b1233fc68be7b032c1a720fc
diff --git a/docs/user_guide/errata.dox b/docs/user_guide/errata.dox index 52ce8e9798e..961a46102d7 100644 --- a/docs/user_guide/errata.dox +++ b/docs/user_guide/errata.dox @@ -1,5 +1,5 @@ /// -/// Copyright (c) 2019-2024 Arm Limited. +/// Copyright (c) 2019-2025 Arm Limited. /// /// SPDX-License-Identifier: MIT //...
6
6
1
[{"id": "G0", "claim": "The errata entry's version range should read '<= v52.7.0' changed to '< v52.8.0' since the next release is likely to be 52.8.0.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The errata entry's Conditions/Result prose shoul...
null
ARM-software__ComputeLibrary__1278
ARM-software/ComputeLibrary
1,278
defect
7d0d25ff3ac23293dfb55bbda1514520312c1264
48ff6680a8bc04ca5d4ee0f180152c233e20099e
perf: Enable assembly kernel for QASYMM8 MAX pooling.
Change-Id: I96cdf94dc29348a01b8f47aba1b6afd6d82fbcb9
diff --git a/src/cpu/kernels/internal/CpuPool2dAssemblyWrapperKernel.cpp b/src/cpu/kernels/internal/CpuPool2dAssemblyWrapperKernel.cpp index 9a5438ab5ac..acd1cb2f977 100644 --- a/src/cpu/kernels/internal/CpuPool2dAssemblyWrapperKernel.cpp +++ b/src/cpu/kernels/internal/CpuPool2dAssemblyWrapperKernel.cpp @@ -1,5 +1,5 @@...
5
4
1
[{"id": "G0", "claim": "The padding check should test pool_type != MAX (name the supported types) rather than == AVG, so the condition reads as 'only MAX pooling is unsupported with padding'.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pa...
null
ARM-software__arm-trusted-firmware__1040
ARM-software/arm-trusted-firmware
1,040
defect
aa965e1583349b36ce7edd2b3fe9f1f461ef8b23
57f43f895147d4f59544297b1b193d7fde2d2f56
Support opteed header
Support Trusted OS firmware extra images in TF tools and support extra image parse.
diff --git a/docs/user-guide.rst b/docs/user-guide.rst index 6b82e3d106d..a1e2a1f2d3a 100644 --- a/docs/user-guide.rst +++ b/docs/user-guide.rst @@ -256,6 +256,12 @@ Common build options BL32 image for the ``fip`` target. In this case, the BL32 in the ARM Trusted Firmware will not be built. +- ``BL32_EXTRA1``...
4
3
1
[{"id": "G0", "claim": "The changes made to arm_io_storage.c (the new BL32 extra-image policies) and the new OP-TEE header-parsing support should be applied to the other OP-TEE supported platforms as well - hikey, hikey960, qemu and fvp - since so far the patch covers only the ARM platforms.", "category": "design", "ve...
null
ARM-software__arm-trusted-firmware__1173
ARM-software/arm-trusted-firmware
1,173
defect
1d791530d0f3a4a02e285a38f35fecac4feec70c
00f011d708526dcca92e109bbac43514a9116b5c
support to boot OP-TEE on AArch32/Armv7+example with Cortex-A15/Qemu
These changes follow armv7 support changes (https://github.com/ARM-software/arm-trusted-firmware/pull/1145). They propose some support for booting OP-TEE bl32 images. The Qemu/Cortex-A15 is provided as example. Board b2260 (Cortex-a9) is planned, will be proposed later.
diff --git a/bl1/aarch32/bl1_exceptions.S b/bl1/aarch32/bl1_exceptions.S index f73db4022d9..5f6e99c8310 100644 --- a/bl1/aarch32/bl1_exceptions.S +++ b/bl1/aarch32/bl1_exceptions.S @@ -73,6 +73,12 @@ debug_loop: ldr r1, [r8, #(ENTRY_POINT_INFO_PC_OFFSET + 4)] msr spsr, r1 +#ifdef ENTRY_POINT_INFO_LR_OFFSET + cps ...
5
2
1
[{"id": "G0", "claim": "Programming lr_svc directly in bl1_exceptions.S looks odd and should be abstracted within the platform layer (e.g. bl1_plat_prepare_exit doing it selectively, with BL2 passing the BL33 entry point in an unused register such as x3) rather than adding a field to entry_point_info_t.", "category": "...
null
ARM-software__arm-trusted-firmware__1205
ARM-software/arm-trusted-firmware
1,205
defect
aa965e1583349b36ce7edd2b3fe9f1f461ef8b23
ddb3961c90724b218918170791dc31b151c3a658
Hikey protect optee / sdp memory
The upstream HiKey ATF support doesn't actually secure the DDR where OP-TEE is running or the secure data path buffers. This pull request adds those missing patches by Jerome Forissier which I've re-based so they apply upstream.
diff --git a/plat/hisilicon/hikey/hikey_bl2_setup.c b/plat/hisilicon/hikey/hikey_bl2_setup.c index 13dc6c9b839..6c9fe51c3ec 100644 --- a/plat/hisilicon/hikey/hikey_bl2_setup.c +++ b/plat/hisilicon/hikey/hikey_bl2_setup.c @@ -347,4 +347,5 @@ void bl2_plat_arch_setup(void) void bl2_platform_setup(void) { + hikey_secu...
9
8
0
[{"id": "G0", "claim": "Use the SPDX license identifier (SPDX-License-Identifier: BSD-3-Clause) instead of the full license text in the file header.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The copyright notice should read 'Copyright (c) 2...
null
ARM-software__arm-trusted-firmware__1239
ARM-software/arm-trusted-firmware
1,239
defect
e5dbebf84edf23b5dcce7a85a51c099775d6fc71
fab2319ec8aa9532178c1c7b61035466e197f18e
Trusty fixes
Trusty spd updates. Restore trusty setup code and add some missing patches.
diff --git a/services/spd/trusty/generic-arm64-smcall.c b/services/spd/trusty/generic-arm64-smcall.c new file mode 100644 index 00000000000..543aee5b7d4 --- /dev/null +++ b/services/spd/trusty/generic-arm64-smcall.c @@ -0,0 +1,118 @@ +/* + * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved. + * + *...
12
7
4
[{"id": "G0", "claim": "Demoting bl33 from EL2 to EL1 whenever trusty is 32-bit breaks the case where the non-secure side should run at EL2, e.g. with a hypervisor.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Passing just two status values as the s...
null
ARM-software__arm-trusted-firmware__1334
ARM-software/arm-trusted-firmware
1,334
defect
ba7848e283cd11326f60f3a3084c142875f3ec41
d445803eece2612c6bae092657d3304fde488f67
qemu: don't use C functions for the crash console callbacks
Use the console_pl011_core_* functions directly in the crash console callbacks. This bypasses the MULTI_CONSOLE_API for the crash console (UART1), but allows using the crash console before the C runtime has been initialized (eg to call ASM_ASSERT). This retains backwards compatibilty with respect to functionalit...
diff --git a/plat/qemu/aarch64/plat_helpers.S b/plat/qemu/aarch64/plat_helpers.S index ca5eec62fc8..8f94621bf4e 100644 --- a/plat/qemu/aarch64/plat_helpers.S +++ b/plat/qemu/aarch64/plat_helpers.S @@ -14,9 +14,8 @@ .globl platform_mem_init .globl plat_qemu_calc_core_pos .globl plat_crash_console_init -#if MULTI_C...
3
3
1
[{"id": "G0", "claim": "The empty line the patch adds after `func plat_qemu_calc_core_pos` in plat/qemu/aarch64/plat_helpers.S is not needed and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "plat_crash_console_flush loads PLA...
null
ARM-software__arm-trusted-firmware__1400
ARM-software/arm-trusted-firmware
1,400
defect
edcd266e6a9276ac0b2927301c8deec3798a6b1c
0f051f61a13c4e500160b95ea6b0568f0d23ad82
Allwinner platform support
This PR adds support for Allwinner SoCs. ATF has always been used on Allwinner's ARMv8 SoCs, but this was a [non-upstreamable port](https://github.com/apritzel/arm-trusted-firmware/commit/90fc243e9256775c85f8763e8fa1b2b59e67d0ce) based on an old v1.0 release. This version should now comply with ATF standards and is bas...
diff --git a/docs/plat/allwinner.rst b/docs/plat/allwinner.rst new file mode 100644 index 00000000000..41b33939c49 --- /dev/null +++ b/docs/plat/allwinner.rst @@ -0,0 +1,26 @@ +Trusted Firmware-A for Allwinner ARMv8 SoCs +=========================================== + +Trusted Firmware-A (TF-A) implements the EL3 firmwa...
18
14
3
[{"id": "G0", "claim": "The `ERROR_DEPRECATED := 1` setting should be removed from the platform makefile because it will cause trouble when something is deprecated and the platform can no longer be compiled.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": ...
null
ARM-software__arm-trusted-firmware__1403
ARM-software/arm-trusted-firmware
1,403
defect
edcd266e6a9276ac0b2927301c8deec3798a6b1c
b28da402cff4e5a10f2195954524f2af9dcdb363
TI K3 platform support
Hello all, This PR adds support for the K3 platform. The full PSCI implementation will be posted as a separate PR as is it requires drivers to communicate with the system controller and so is broken out into smaller parts. This PR alone allows booting to Linux from ATF on a single core. See AM65x Technical Ref...
diff --git a/plat/ti/k3/common/bl31.c b/plat/ti/k3/common/bl31.c new file mode 100644 index 00000000000..4d35d6cb82a --- /dev/null +++ b/plat/ti/k3/common/bl31.c @@ -0,0 +1,138 @@ +/* + * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#i...
9
7
2
[{"id": "G0", "claim": "bl31_early_platform_setup populates the BL32 entry-point information unconditionally, which is dead/wrong when the platform has no secure image; should this be guarded by a PRELOADED_BL32_BASE #ifdef?", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ...
null
ARM-software__arm-trusted-firmware__1413
ARM-software/arm-trusted-firmware
1,413
defect
4a581b061c63cbfd68809e4a87b531a0ff75a085
08f61eac819ec9bb50ad67fd1597132cdbae83bc
rpi3: BL32 optee support
In order to load optee, we need to set SPD=opteed. plat_interrupt_type_to_line() is a needed function for SPD. Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org> @igoropaniuk Please help reviewing this patch. Thanks.
diff --git a/plat/rpi3/aarch64/plat_helpers.S b/plat/rpi3/aarch64/plat_helpers.S index 65c1bf2d4f0..02841b4216f 100644 --- a/plat/rpi3/aarch64/plat_helpers.S +++ b/plat/rpi3/aarch64/plat_helpers.S @@ -21,6 +21,7 @@ .globl plat_reset_handler .globl plat_rpi3_calc_core_pos .globl plat_secondary_cold_boot_setup + .g...
4
4
1
[{"id": "G0", "claim": "The OP-TEE BL32 payload handling (platform.mk BL32/BL32_EXTRA1/BL32_EXTRA2 values, parse_optee_header invocation filling entry_point_info_t, etc.) should be included in this PR rather than split out, so the full picture can be reviewed.", "category": "design", "verdict": "supported", "priority":...
null
ARM-software__arm-trusted-firmware__1423
ARM-software/arm-trusted-firmware
1,423
defect
498161a504bdeeb21ea0647422ce484c79664e1b
39b66f68d803f5ee585d17e316fc7adc185a53c5
Sgi 575/dyncfg
Pull request for adding SGI-575 dynamic configuration platform support.
diff --git a/plat/arm/css/sgi/fdts/sgi575.dts b/plat/arm/css/sgi/fdts/sgi575.dts new file mode 100644 index 00000000000..be9920cbc8a --- /dev/null +++ b/plat/arm/css/sgi/fdts/sgi575.dts @@ -0,0 +1,11 @@ +/* + * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved. + * + * SPDX-License-Identifier: BSD-3...
2
1
1
[{"id": "G0", "claim": "Confirmation is needed that adding the SGI575 device tree files and packaging them does not break anything.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "With the 18.04 landing team release these patches cause a boot regress...
null
ARM-software__arm-trusted-firmware__1427
ARM-software/arm-trusted-firmware
1,427
defect
1ebdbe79c7c04d62e870eadedd615bd2dcebe8bf
fc0dfd734fc9086a23d1f71640187ffa0acd9829
Add support for Socionext Synquacer SC2A11 SoC based Developerbox platform.
Hi Everyone, This pull request adds support for Socionext Synquacer SC2A11 SoC based Developerbox platform. This platform is compliant with Linaro’s 96Boards open hardware specification. For more info regarding the platform, please refer to https://www.96boards.org/product/developerbox/. Also this Synquacer SoC i...
diff --git a/docs/plat/synquacer.rst b/docs/plat/synquacer.rst new file mode 100644 index 00000000000..887b91a6844 --- /dev/null +++ b/docs/plat/synquacer.rst @@ -0,0 +1,114 @@ +Trusted Firmware-A for Socionext Synquacer SoCs +=============================================== + +Developerbox is one of 96boards. Socionext...
8
6
3
[{"id": "G0", "claim": "The hand-rolled busy-wait loops in sq_system_off should be replaced with the generic delay timer (e.g. udelay()/mdelay()), which requires adding delay_timer.c and generic_delay_timer.c to the Makefile.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id...
null
ARM-software__arm-trusted-firmware__1433
ARM-software/arm-trusted-firmware
1,433
defect
0a665ed5d1eb6b09102212ad51c6e67f2055ea3b
8025bf7ed0eb7b3dbffc6a1c2c0d380f81098bb6
xilinx: fix zynqmp build when tsp is enabled
Patches to fix issue https://github.com/ARM-software/tf-issues/issues/589
diff --git a/plat/xilinx/zynqmp/aarch64/zynqmp_common.c b/plat/xilinx/zynqmp/aarch64/zynqmp_common.c index b144c84bd49..297f11253d8 100644 --- a/plat/xilinx/zynqmp/aarch64/zynqmp_common.c +++ b/plat/xilinx/zynqmp/aarch64/zynqmp_common.c @@ -205,12 +205,21 @@ static char *zynqmp_get_silicon_idcode_name(void) { uint32...
1
1
1
[{"id": "G0", "claim": "The added condition `if (pm_get_chipid(chipid))` violates MISRA C-2012 Rule 14.4 because it is not essentially boolean, and should be changed to `if (pm_get_chipid(chipid) != PM_RET_SUCCESS)`.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ARM-software__arm-trusted-firmware__1463
ARM-software/arm-trusted-firmware
1,463
defect
700b6da722a87de65b0b66421bb5ec26c69a27b7
7ba8dfdc9e642ffceb7bbee0102e6451aa27ba83
rpi3: Add support for Trusted Board Boot
This patch adds support for TBB to qemu. The ROTPK is generated at build time and is included into BL1/BL2. The key and content certificates are read over semihosting.
diff --git a/docs/plat/rpi3.rst b/docs/plat/rpi3.rst index 554c9a14a94..d4819bf0fbf 100644 --- a/docs/plat/rpi3.rst +++ b/docs/plat/rpi3.rst @@ -101,7 +101,7 @@ secure platform! 0x00000000 +-----------------+ | ROM | BL1 - 0x00010000 +-----------------+ + 0x00020000 +-----------...
6
6
1
[{"id": "G0", "claim": "The documentation must be updated because the truncate command now needs to truncate to 128K after the BL1 address change.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "It would be nice to add an example to the documentati...
null
ARM-software__arm-trusted-firmware__1471
ARM-software/arm-trusted-firmware
1,471
defect
bcf50ed0e715974803b47eaf1cc04f2dd1805676
15ed91ed1c5752236bfc0a5856e53e5ba2f9cb8f
Add i.MX8QX/i.MX8QM power management feature
Add system power off, system reset, cpu-hotplug, suspend/resume to i.MX8QX/i.MX8QM platform.
diff --git a/plat/imx/common/imx8_topology.c b/plat/imx/common/imx8_topology.c index bcb7d59f041..64145c4ca89 100644 --- a/plat/imx/common/imx8_topology.c +++ b/plat/imx/common/imx8_topology.c @@ -11,7 +11,8 @@ const unsigned char imx_power_domain_tree_desc[] = { PWR_DOMAIN_AT_MAX_LVL, PLATFORM_CLUSTER_COUNT, - PL...
3
3
1
[{"id": "G0", "claim": "imx_get_sys_suspend_power_state should not set every power-domain state to PLAT_MAX_RET_STATE; CPU/cluster should enter PLAT_MAX_OFF_STATE and only the system level PLAT_MAX_RET_STATE.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "cl...
null
ARM-software__arm-trusted-firmware__1472
ARM-software/arm-trusted-firmware
1,472
defect
b6c07bbb2ed520f0b51775adb5d22b294d6971eb
3cc0ba63ec9d86c119414c0460e7a2b8d1da00f1
Rework page table setup for varying number of mem regions
Change arm_setup_page_tables() to take a variable number of memory regions Change-Id: I790054e3b20b056dda1043a4a67bd7ac2d6a3bc0 Signed-off-by: Daniel Boulby <daniel.boulby@arm.com>
diff --git a/include/plat/arm/common/arm_def.h b/include/plat/arm/common/arm_def.h index e3d0edbce21..d23a415c265 100644 --- a/include/plat/arm/common/arm_def.h +++ b/include/plat/arm/common/arm_def.h @@ -241,6 +241,25 @@ ARM_EL3_TZC_DRAM1_SIZE, \ MT_MEMORY | MT_RW | MT_SECURE) +#if SEPARATE_CODE_AND_RO...
5
3
1
[{"id": "G0", "claim": "Reworking arm_setup_page_tables() to take region arrays loses the per-region debug printouts (e.g. 'Trusted SRAM seen by this BL image'), which can be useful for debug.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In pl...
null
ARM-software__arm-trusted-firmware__1488
ARM-software/arm-trusted-firmware
1,488
defect
ba0248b52d8027e0f38cf44353f8860bbf171b2d
484db211a2424200dd51a063251096d4d8835e80
synquacer: Enable optional OP-TEE support
OP-TEE loading is optional on Developerbox controlled via SCP firmware. To check if OP-TEE is loaded or not, we use DRAM1 region info passed by SCP firmware. Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
diff --git a/plat/socionext/synquacer/platform.mk b/plat/socionext/synquacer/platform.mk index 546f84aa13f..96427a1613a 100644 --- a/plat/socionext/synquacer/platform.mk +++ b/plat/socionext/synquacer/platform.mk @@ -18,6 +18,10 @@ ERRATA_A53_855873 := 1 # Libraries include lib/xlat_tables_v2/xlat_tables.mk +ifeq ...
1
1
1
[{"id": "G0", "claim": "The build configuration PLAT=synquacer with PRELOADED_BL33_BASE=0x0 fails to build because 'di' in sq_bl31_setup.c is an unused variable and warnings are treated as errors.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
ARM-software__arm-trusted-firmware__1534
ARM-software/arm-trusted-firmware
1,534
defect
7c3a0b01396ead4c7cb4ce2f8c1093b3c27303cc
5325280ed309813f90b61f3d4e4b31b048add7a8
Add support for Allwinner H6 + X-Powers AXP805 PMIC combination
Boards with Allwinner H6 SoC, which is a SoC that newly gets supported by mainline TF-A recently, are usually combined with a X-Powers AXP805 PMIC according to the reference design from Allwinner. The PMIC is connected to the SoC via I2C at PL0/PL1 pins (called R_I2C, R_ is the prefix on Allwinner SOCs for RTC power do...
diff --git a/drivers/marvell/i2c/a8k_i2c.c b/drivers/marvell/i2c/a8k_i2c.c index 737dd0a72f7..1c0f922cdad 100644 --- a/drivers/marvell/i2c/a8k_i2c.c +++ b/drivers/marvell/i2c/a8k_i2c.c @@ -7,57 +7,22 @@ /* This driver provides I2C support for Marvell A8K and compatible SoCs */ -#include <a8k_i2c.h> -#include <debu...
6
6
3
[{"id": "G0", "claim": "The new plat/allwinner/common/include/spl_head.h file is missing a copyright notice and SPDX identifier.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The device tree name should be passed via U-Boot SPL's existing mechani...
null
ARM-software__arm-trusted-firmware__1540
ARM-software/arm-trusted-firmware
1,540
defect
4e45fbd626e199d94116658b2a92e2ab6c0f1f07
9f3e29426a247a954ee2e5bc7e80f3160d07f702
Marvell updates 18.09
Some fixes and updates to align the current mainline code with Marvell upcoming 18.09 release. The A3700 support patches are delayed, but the documentation still mentions this platform along with A8K. The A3700 support patches are planned to be pushed to the mainline in September-October this year.
diff --git a/docs/marvell/build.txt b/docs/marvell/build.txt index 63a40a8d89a..b354ab6abdc 100644 --- a/docs/marvell/build.txt +++ b/docs/marvell/build.txt @@ -22,14 +22,14 @@ Build Instructions u-boot.bin should be used and not u-boot-spl.bin - Set MSS/SCP image path (mandatory only for Armada80x0 and Aramad...
3
3
1
[{"id": "G0", "claim": "Fix the typo in the comment above marvell_bl31_security_setup() in plat_bl31_setup.c (\"TrusTzone\"/\"filed\").", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "gicv2_interrupt_set_edge_triggered() looks like an init-time-onl...
null
ARM-software__arm-trusted-firmware__1553
ARM-software/arm-trusted-firmware
1,553
defect
f60a5004acabccf573e0eb943cdbfad7d7f540f6
8fc472fe7cf134f42e8ba3cd562f42c48f5b89ab
Allow D-Cache to remain on during core power-down
Hello all, The first two patches should be simple enough. The third is a bit more interesting and is kinda an RFC. For K3, we have hardware assisted coherency but as I've argued before the flag "HW_ASSISTED_COHERENCY" is a misnomer and is targeted specifically for DynamIQ platforms. An example of this is in psci_...
diff --git a/Makefile b/Makefile index 9dc8a42208d..4b5391c3e24 100644 --- a/Makefile +++ b/Makefile @@ -615,6 +615,7 @@ $(eval $(call assert_boolean,USE_COHERENT_MEM)) $(eval $(call assert_boolean,USE_ROMLIB)) $(eval $(call assert_boolean,USE_TBBR_DEFS)) $(eval $(call assert_boolean,WARMBOOT_ENABLE_DCACHE_EARLY)) +...
5
4
4
[{"id": "G0", "claim": "The patch modifies the TRM-recommended Cortex-A53 core power-down sequence, which the reviewers say is wrong and should not be merged as-is; if the deviation is needed at all it must be clearly scoped to the TI platform.", "category": "design", "verdict": "supported", "priority": "P1", "scope": ...
null
ARM-software__arm-trusted-firmware__1554
ARM-software/arm-trusted-firmware
1,554
defect
708531cf0541295f50d81b0bfa3441e757a00348
8f9933748871c634a19cb54d398bba802e19d54c
Mbed TLS shared heap
This patch introduces a memory optimisation related to the heap used by the Mbed TLS library. The heap usage is optimised so as to allocate a heap once and share it among all the BL stages that need it, instead of allocating a heap for every BL stage that needs one. Thus we can reduce memory usage.
diff --git a/docs/porting-guide.rst b/docs/porting-guide.rst index de7b5dba355..84f4c9dfae3 100644 --- a/docs/porting-guide.rst +++ b/docs/porting-guide.rst @@ -1055,7 +1055,7 @@ next image. This function is currently invoked in BL2 to flush this information to the next BL image, when LOAD\_IMAGE\_V2 is enabled. Fu...
1
1
0
[{"id": "G0", "claim": "The block comment above arm_bl1_set_mbedtls_heap and the style below it diverge from the comment style used elsewhere in the file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ARM-software__arm-trusted-firmware__1604
ARM-software/arm-trusted-firmware
1,604
defect
dbc8d9496ead9ecdd7c2a276b542a4fbbbf64027
faf6008f788cb177cd304979b7dda2a3dadbb617
marvell: Continue migration to new APIs
- Fix build issue - Add initial memory parameters descriptors for BL2 - Migrate to image load V2 Basic build an run test passed on MacchiatoBin board. Need to fix the service CPU (CM3) image load procesure and test OPTEE functionality, which probably wiull require additional work. Signed-off-by: Konstantin Po...
diff --git a/plat/marvell/a8k/common/include/a8k_plat_def.h b/plat/marvell/a8k/common/include/a8k_plat_def.h index 4ed8c7e6a5e..1b7e954620b 100644 --- a/plat/marvell/a8k/common/include/a8k_plat_def.h +++ b/plat/marvell/a8k/common/include/a8k_plat_def.h @@ -148,7 +148,8 @@ * it is discarded and BL31 is loaded over the...
1
1
1
[{"id": "G0", "claim": "Marvell appears not to need the extra OP-TEE pager/paged image support (the BL32_EXTRA1/BL32_EXTRA2 descriptors and the SPD_opteed handling in BL2), since it has enough Trusted DRAM to load the whole of OP-TEE without pageable support.", "category": "design", "verdict": "supported", "priority": ...
null
ARM-software__arm-trusted-firmware__1606
ARM-software/arm-trusted-firmware
1,606
defect
dbc8d9496ead9ecdd7c2a276b542a4fbbbf64027
d34740c831e50c5ba7bf5510b5a9ea44d925a57a
plat/arm: Fix misra warnings in platform code
Change-Id: Ica944acc474a099219d50b041cfaeabd4f3d362f Signed-off-by: Sathees Balya <sathees.balya@arm.com>
diff --git a/include/common/interrupt_props.h b/include/common/interrupt_props.h index 9786b40c810..4ac698dfc89 100644 --- a/include/common/interrupt_props.h +++ b/include/common/interrupt_props.h @@ -12,10 +12,10 @@ /* Create an interrupt property descriptor from various interrupt properties */ #define INTR_PROP_DES...
2
1
0
[{"id": "G0", "claim": "The reviewer questions why the loop variable in plat_get_power_domain_tree_desc was changed from unsigned int to int, challenging the change as unjustified.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Use 0U instead of 0ULL in ...
null
ARM-software__arm-trusted-firmware__1609
ARM-software/arm-trusted-firmware
1,609
defect
a4277cda5c7f57a7205f4c29edbb488d518c29b5
40bd71de8a16ad99c37df00d4fba7dfed20ef3cf
plat/marvell: Move BLE into the platform tree, minor fix in tools.
This series moves BLE from outside repository to Marvell TF-A platform tree as requested by @antonio-nino-diaz-arm. Additional patch fixes broken rules in tools - the patch is provided by @jan-kiszka in https://github.com/ARM-software/tf-issues/issues/631
diff --git a/docs/marvell/build.txt b/docs/marvell/build.txt index b354ab6abdc..2da47d30424 100644 --- a/docs/marvell/build.txt +++ b/docs/marvell/build.txt @@ -63,8 +63,7 @@ Build Instructions - BLE_PATH: Points to BLE (Binary ROM extension) sources folder. Only required for A8K builds. - The parameter is opti...
3
3
1
[{"id": "G0", "claim": "The new plat/marvell/a8k/common/ble/LICENSE file is redundant with the license the rest of the firmware uses and the per-file headers, and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The RST underlin...
null
ARM-software__arm-trusted-firmware__1653
ARM-software/arm-trusted-firmware
1,653
defect
9aabd11a424770e11dd89251960678d3e3332df6
b046af0d4855ad4fdbb8c799b7211b3129cd51af
Add NXP i.MX8MQ basic support
i.MX8MQ is a new SOC of the NXP i.MX8M family target for industry-leading audio, voice and video processing for applications that scale from consumer home audio to industrial building automation and mobile computers. This patchset adds the TZ380 driver & NXP i.MX8MQ basic support. More feature will be added later after...
diff --git a/drivers/arm/tzc/tzc380.c b/drivers/arm/tzc/tzc380.c new file mode 100644 index 00000000000..1240b71fefc --- /dev/null +++ b/drivers/arm/tzc/tzc380.c @@ -0,0 +1,149 @@ +/* + * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#includ...
29
27
1
[{"id": "G0", "claim": "The imx8mq platform code should define its magic addresses and register values (USB PHY 0x30390020/0x30390024, CSU 0x303e0000, the WDOG bits, SNVS 0x61, the 0x40000000 RAM base) as named constants with references to the NXP documentation instead of hard-coded numbers.", "category": "maintainabil...
null
ARM-software__arm-trusted-firmware__1668
ARM-software/arm-trusted-firmware
1,668
defect
dd756c98953fa76ff000e97c6207111015c1c8c6
06a18b7da1722ea2c7df3e5ef5ac418f47b87910
rcar_gen3: E3 target: fix compilation issues
Target builds but has not been tested. Signed-off-by: ldts <jorge.ramirez.ortiz@gmail.com>
diff --git a/drivers/renesas/rcar/watchdog/swdt.c b/drivers/renesas/rcar/watchdog/swdt.c index 6df47b9b68c..f9dbf86fe40 100644 --- a/drivers/renesas/rcar/watchdog/swdt.c +++ b/drivers/renesas/rcar/watchdog/swdt.c @@ -72,9 +72,9 @@ static void swdt_disable(void) void rcar_swdt_init(void) { - uint32_t rmsk, val, sr; ...
2
1
0
[{"id": "G0", "claim": "Remove the extra space after the tab on the added `stop_cr2 = 0xEFFFFFFFU;` line in plat/renesas/rcar/bl2_cpg_init.c.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add spaces around the `=` in `err=rcar_dram_update_boot_...
null
ARM-software__arm-trusted-firmware__1682
ARM-software/arm-trusted-firmware
1,682
defect
a6febeab812269d68ac4dae3e0e6c2adb88fb2aa
036a759a35430c608eb43ac8fbf6027f62c28835
Marvell: Migrate to multi console API
This patch fixes small bug in A3700 image encryption command and introduces migration to the multi-console API for all supported Marvell platforms.
diff --git a/drivers/marvell/uart/a3700_console.S b/drivers/marvell/uart/a3700_console.S index 6575af47f43..b0b5b40796e 100644 --- a/drivers/marvell/uart/a3700_console.S +++ b/drivers/marvell/uart/a3700_console.S @@ -5,16 +5,26 @@ * https://spdx.org/licenses */ +#include <arch.h> #include <asm_macros.S> #includ...
4
2
1
[{"id": "G0", "claim": "The a3700 UART driver is missing `#define USE_FINISH_CONSOLE_REG_2` before the include of `console_macros.S`, and `finish_console_register a3700` must be changed to pass putc=1, getc=1, flush=1, otherwise the console is not registered correctly and TF-A BLx boot output disappears.", "category": ...
null
ARM-software__arm-trusted-firmware__1708
ARM-software/arm-trusted-firmware
1,708
defect
41771df84944f7739a5bff18b1207e1dc2d3cc59
f2b6e2f80db778104c72c6ad8104de2b7209e141
Add possibility to add compilation warnings
This is based on the same warnings lists as defined in kernel. To activate this, the option W=x has to be provided in make command, with x=1, 2 or 3. W=1 adds warning of the first list, W=2 adds warnings of the first and second list, and W=3 adds the warnings of the 3 lists. When activating this, the -Werror is disa...
diff --git a/Makefile b/Makefile index c79264bc9e9..e9f6d575d31 100644 --- a/Makefile +++ b/Makefile @@ -188,8 +188,48 @@ TF_CFLAGS_aarch64 += -mgeneral-regs-only -mstrict-align ASFLAGS_aarch32 = $(march32-directive) ASFLAGS_aarch64 = -march=armv8-a +WARNING1 := -Wextra +WARNING1 += -Wunused -Wno-unused-parameter...
2
1
1
[{"id": "G0", "claim": "It is inconsistent to leave -Wall in TF_CFLAGS now that the patch introduces its own warning-level flags.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Hardcoding -Werror as the unconditional default with no way to tur...
null
ARM-software__arm-trusted-firmware__1738
ARM-software/arm-trusted-firmware
1,738
defect
9a207532f8216bf83fed0891fed9ed0bc72ca450
4e1152188b93de7ee012e9cdeb442fd73cdd3904
synquacer: add SPM support
This wires up the secure partition manager for the Socionext SynQuacer/DeveloperBox platform. This is used by the standalone MM (known as SMM in Intel-speak) based implementation of UEFI secure boot on this platform. I am aware that using the deprecated version of SPM is probably not the most desirable approach from...
diff --git a/bl31/bl31.ld.S b/bl31/bl31.ld.S index 5925e0ca0ce..c09b3517efb 100644 --- a/bl31/bl31.ld.S +++ b/bl31/bl31.ld.S @@ -143,6 +143,10 @@ SECTIONS "cpu_ops not defined for this platform.") #if ENABLE_SPM +#ifndef SPM_SHIM_EXCEPTIONS_VMA +#define SPM_SHIM_EXCEPTIONS_VMA RAM +#endif + ...
5
4
0
[{"id": "G0", "claim": "Given that SPM and SPD_opteed are currently mutually exclusive, the maintainer asks how both variants of the fip_all_arm_tf.bin binary will be kept in the edk2-non-osi repo.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "PLAT_EX...
null
ARM-software__arm-trusted-firmware__1744
ARM-software/arm-trusted-firmware
1,744
defect
7825d719d4921498e46c0ccd4b1b9ad441b8d0b0
c24aeaf2bd852947bc6572203c14cbc70e55496b
plat: xilinx: code restructure
This patchset restructures code to move common code to separate directory Signed-off-by: Jolly Shah jollys@xilinx.com
diff --git a/plat/xilinx/zynqmp/aarch64/zynqmp_common.c b/plat/xilinx/zynqmp/aarch64/zynqmp_common.c index 23c02e068bf..8ff6c436046 100644 --- a/plat/xilinx/zynqmp/aarch64/zynqmp_common.c +++ b/plat/xilinx/zynqmp/aarch64/zynqmp_common.c @@ -11,9 +11,9 @@ #include <drivers/generic_delay_timer.h> #include <lib/mmio.h> ...
1
1
0
[{"id": "G0", "claim": "Copyright headers updated by the pull request write the year in abbreviated form ('2017-18') instead of writing the full year ('2017-2018'); write the full year.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null