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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dokploy__dokploy__2863 | Dokploy/dokploy | 2,863 | defect | a9a42d2066d14f29b3cdfdd6d5fb3a5aee0de2a7 | ac27aa1bba646a22d74246226dbc221557334777 | feat: add support for custom entry point | ## What is this PR about?
This PR will allow to configure custom Traefik entry point for applications domains, by manually entering name of Traefik entrypoint. That will prevent creating default entrypoints ("web" and/or "websecure") and only will use one, that is provided.
## Checklist
Before submitting this... | diff --git a/apps/dokploy/__test__/compose/domain/labels.test.ts b/apps/dokploy/__test__/compose/domain/labels.test.ts
index 9a75e0a845b..61afec36c7b 100644
--- a/apps/dokploy/__test__/compose/domain/labels.test.ts
+++ b/apps/dokploy/__test__/compose/domain/labels.test.ts
@@ -7,6 +7,7 @@ describe("createDomainLabels", ... | 2 | 2 | 1 | [{"id": "G0", "claim": "Add a test covering the discussed case: a domain with a custom entrypoint gets no web-secure router (no additional endpoints) even when HTTPS is selected, with the HTTPS toggle only controlling the certificate.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduc... | null |
Dokploy__dokploy__3735 | Dokploy/dokploy | 3,735 | defect | b818d661fd8b340bf4c8aa421678042560103bf1 | 3689a82ec5dee70fc150edf8f9534fb900575e3b | feat(tests): add unit tests for validation functions in docker-contai… | …ner-logs
- Introduced tests for isValidTail, isValidSince, isValidSearch, and isValidContainerId functions to ensure proper validation and security against command injection.
- Updated docker-container-logs to utilize these validation functions, enhancing input handling for WebSocket connections.
## What is thi... | diff --git a/apps/dokploy/__test__/wss/utils.test.ts b/apps/dokploy/__test__/wss/utils.test.ts
new file mode 100644
index 0000000000..2b91c830bf
--- /dev/null
+++ b/apps/dokploy/__test__/wss/utils.test.ts
@@ -0,0 +1,121 @@
+import { describe, expect, it } from "vitest";
+import {
+ isValidContainerId,
+ isValidSearch,
... | 4 | 4 | 4 | [{"id": "G0", "claim": "The isValidSearch regex allowing all printable ASCII (\\x20-\\x7E) permits shell metacharacters like backticks, dollar signs and parentheses that enable command substitution, and the suggested change blocks those characters.", "category": "security", "verdict": "supported", "priority": "P0", "sc... | null |
DoodleScheduling__flux-build__171 | DoodleScheduling/flux-build | 171 | defect | 243f92be3b42a2e6f94eed150e1d0a747943add9 | 37d79dc4b02081874e6ec274d91b562e18ab72a0 | feat: Add Helm charts caching | Add `--cache-enabled` flag to enable cache. Default is enabled.
Rewrote `internal/cache` module to download any chart just once and wait in concurrent builds.
Fixes: #166
| diff --git a/internal/action/action.go b/internal/action/action.go
index 78923824..f2fa2400 100644
--- a/internal/action/action.go
+++ b/internal/action/action.go
@@ -19,6 +19,7 @@ type Action struct {
FailFast bool
Workers int
CacheDir string
+ CacheSize int
Paths []s... | 3 | 3 | 0 | [{"id": "G0", "claim": "The --cache-size flag should not be user-modifiable and the cache should be unlimited (the size makes ordering of entries unreproducible across builds).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Caching should be enabled by d... | null |
DoubleML__doubleml-for-py__182 | DoubleML/doubleml-for-py | 182 | defect | 0dcd89c7fdbba2d5fbd162f7b38068f87c2e6da8 | db6845ee0931b7313757b90749cbe054157f6bbf | Add RMSEs and targets | ### Description
Add RMSE evaluations for each nuisance component to the models. The RMSEs can be accessed through the method `.rmses` and are added to the `summary()`.
Further, the targets for each component can be accessed through the method `.nuisance_targets`, which returns a dictionary which contains the nuisance... | diff --git a/.gitignore b/.gitignore
index 696991067..c6e95ba39 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,5 +25,6 @@ share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
+*.vscode
MANIFEST
*.idea
diff --git a/doubleml/_utils.py b/doubleml/_utils.py
index d50969031..e35b65003 100644
--- a/doubleml/_utils.py
... | 1 | 1 | 0 | [{"id": "G0", "claim": "It should be possible to make the RMSE diagnostics more general by using (a subset of) sklearn's metrics, e.g. by letting users pass a callable for evaluating the nuisance predictions or by directly supporting measures such as classification error or cross-entropy loss.", "category": "design", "... | null |
DoubleML__doubleml-for-py__229 | DoubleML/doubleml-for-py | 229 | defect | 5d9a4c2a92fdadfb74188b1cca0c06f4167a1985 | f57625580b4c0227409a9b788ed4e5c8cf3fc219 | Add Gain statistics and weights for ATTE | Add the computation of gain statistics to `utils` as `gain_statistics`.
Adding the option to set binary weights for `score="ATTE"` in `DoubleMLIRM` model.
Further, added shapes to several attribute descriptions. | diff --git a/doubleml/_utils_checks.py b/doubleml/_utils_checks.py
index 39be143dd..834b904f1 100644
--- a/doubleml/_utils_checks.py
+++ b/doubleml/_utils_checks.py
@@ -230,12 +230,13 @@ def _check_benchmarks(benchmarks):
def _check_weights(weights, score, n_obs, n_rep):
if weights is not None:
- if scor... | 5 | 5 | 5 | [{"id": "G0", "claim": "Local variable 'psi_a' may be used before it is initialized in old_score_elements, since it is assigned only inside the branch of `if isinstance(score, str)` that runs for a string score.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", ... | null |
DoubleML__doubleml-for-py__358 | DoubleML/doubleml-for-py | 358 | defect | 7a79af44bcb79db15493cfd56965656b6ab55934 | 313326da3e0d804948d1fee9ead92d083544a7e6 | Convert Outcome, Treatment and instrument columns to float | Typcasting `y_col`, `d_cols` and `z_cols` to numeric, see https://github.com/DoubleML/doubleml-for-py/issues/232 | diff --git a/doubleml/data/base_data.py b/doubleml/data/base_data.py
index 93543e8b..d191d0d7 100644
--- a/doubleml/data/base_data.py
+++ b/doubleml/data/base_data.py
@@ -702,8 +702,12 @@ def _set_y_z(self):
def _set_attr(col):
if col is None:
return None
- assert_all_f... | 3 | 1 | 1 | [{"id": "G0", "claim": "X columns should also be cast to numeric with pd.to_numeric(), as the PR does for outcome, treatment and instrument columns, instead of leaving self._X as-is.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The new pd.to_numeric co... | null |
DougTrajano__pydantic-ai-skills__39 | DougTrajano/pydantic-ai-skills | 39 | defect | 8855fad975ab14e6a05eb4e7fa5e881a8a698211 | 4e6db75910ecc1db220524acac4e24babc49ed34 | feat: [DEV-1157] add env_vars for file system scripts | This pull request introduces support for forwarding environment variables to file-based skill scripts executed by `LocalSkillScriptExecutor`. It allows both static and context-dependent environment variables to be injected into subprocesses, improving flexibility for script execution in different contexts. The changes ... | diff --git a/docs/creating-skills.md b/docs/creating-skills.md
index 77fc49b..f1a8e4a 100644
--- a/docs/creating-skills.md
+++ b/docs/creating-skills.md
@@ -278,6 +278,103 @@ if __name__ == "__main__":
main()
```
+### Script Environment Variables
+
+For file-based scripts, subprocess environment variables can b... | 5 | 4 | 2 | [{"id": "G0", "claim": "The new default-behaviour test assumes TEST_USER_COOKIES is not set in the parent process environment and would fail where it is; it should use monkeypatch.delenv('TEST_USER_COOKIES', raising=False) (or a more unique variable name) to make the test deterministic.", "category": "testing", "verdic... | null |
DougTrajano__pydantic-ai-skills__41 | DougTrajano/pydantic-ai-skills | 41 | defect | 5219fc12e165ee3659b72cc982e2fa919e176632 | ad6cd5f4f68a868483848b19034c498bbbb79ca2 | DEV-1192: drop pre-1.74 pydantic-ai compatibility shims | ## Summary
- Bump `pydantic-ai-slim` floor to `>=1.74` and delete the version-detection scaffolding it was bridging (`try/except ImportError`, `_CAPABILITIES_AVAILABLE` flag, fallback `AbstractCapability` placeholder, `hasattr`-based branching in `get_instructions`).
- Simplify `SkillsCapability.get_instructions()` to... | diff --git a/AGENTS.md b/AGENTS.md
index b2fc0c4..75cbc62 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -22,7 +22,7 @@ Core boundaries:
- Type layer (dataclasses and normalization): [pydantic_ai_skills/types.py](pydantic_ai_skills/types.py)
- Tool integration layer: [pydantic_ai_skills/toolset.py](pydantic_ai_skills/tool... | 2 | 2 | 1 | [{"id": "G0", "claim": "The pre-1.74 compatibility note in examples/README.md is now stale given the pydantic-ai-slim>=1.74 floor and should be updated or removed so documentation is consistent across the repo.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",... | null |
DougTrajano__pydantic-ai-skills__42 | DougTrajano/pydantic-ai-skills | 42 | defect | 1a7a67149b5221bf9ade3f39cca9ff76b149a345 | cb3aecdbeac145970eaaa233d5d29e53c9ad55a3 | DEV-1193: add Skill.from_file() classmethod | ## Summary
- Adds `Skill.from_file(path, validate=True, script_executor=None)` classmethod — accepts a directory containing `SKILL.md` or a direct path to the file, returns a fully populated `Skill` instance including discovered resources and scripts.
- Extracts `parse_skill_md`, `validate_skill_metadata`, `SKILL_NAME... | diff --git a/docs/api/types.md b/docs/api/types.md
index b218b96..39e83cd 100644
--- a/docs/api/types.md
+++ b/docs/api/types.md
@@ -37,6 +37,7 @@ The package uses dataclasses for type-safe skill representation:
| Method | Description |
|--------|-------------|
+| `from_file(path, validate=True, script_executor=Non... | 9 | 9 | 9 | [{"id": "G0", "claim": "parse_skill_md returns the raw yaml.safe_load() value as frontmatter, so for syntactically valid but non-mapping YAML, Skill.from_file() later calls .get() on a non-dict and crashes with AttributeError instead of raising SkillValidationError.", "category": "correctness", "verdict": "supported", ... | null |
DougTrajano__pydantic-ai-skills__46 | DougTrajano/pydantic-ai-skills | 46 | defect | eedeb8a36f71a6f2021551313af708d2538f282d | 7d98a61327c22b9d14ae89ecc74073ce21406cdd | feat: coerce JSON string args to dict in run_skill_script | LLMs sometimes return nested dict args as JSON strings instead of objects. Add `_coerce_to_dict` helper using `Annotated[..., BeforeValidator(...)]` on the `args` parameter to automatically parse strings to dicts at validation time. | diff --git a/pydantic_ai_skills/toolset.py b/pydantic_ai_skills/toolset.py
index aa204cc..184ca06 100644
--- a/pydantic_ai_skills/toolset.py
+++ b/pydantic_ai_skills/toolset.py
@@ -17,8 +17,9 @@ class that integrates skill discovery and management with Pydantic AI agents.
from collections.abc import Callable
from ins... | 3 | 3 | 1 | [{"id": "G0", "claim": "_coerce_to_dict is annotated to return dict[str, Any] | None but can return non-dict values via the final return v path, which is inconsistent with its type signature; consider either changing the return type to Any or raising for unsupported input types.", "category": "maintainability", "verdic... | null |
DougTrajano__pydantic-ai-skills__9 | DougTrajano/pydantic-ai-skills | 9 | defect | 4312bad4a97add42574c20cbed3612e6233bee04 | 7a04ea53843ee900cb33cd60500891d49d516b9d | feat: [DEV-1106] add exclude_tools | Fixes #6 | diff --git a/docs/security.md b/docs/security.md
index a142436..249702f 100644
--- a/docs/security.md
+++ b/docs/security.md
@@ -360,6 +360,86 @@ When using the long_operation script:
"""
```
+## Tool Access Control
+
+### Restricting Available Tools
+
+For additional security or to limit agent capabilities, you ca... | 8 | 6 | 2 | [{"id": "G0", "claim": "The example's conversion from an async script to a synchronous uvicorn web app is unrelated to the exclude_tools feature and out of scope, so it should either be removed or explained in the PR description.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, ... | null |
DoumanAsh__clipboard-win__24 | DoumanAsh/clipboard-win | 24 | defect | 02a16b5dfc92cf7f8897c4aaa4e8e56fab883326 | 41a3650a3b1339dc8e293e440c1812abbffc5c04 | Setting list of files | I want to add setting files on the clipboard according to these links
https://stackoverflow.com/questions/25708895/how-to-copy-files-by-win32-api-functions-and-paste-by-ctrlv-in-my-desktop
https://forums.codeguru.com/showthread.php?565003-SetClipboardData()-to-Copy-File
https://forum.lazarus.freepascal.org/index.p... | diff --git a/Cargo.toml b/Cargo.toml
index 16e877c..87b65be 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -26,9 +26,10 @@ default-target = "x86_64-pc-windows-msvc"
[target.'cfg(windows)'.dependencies]
error-code = "2.1"
str-buf = "1"
+windows = { version = "0.43.0", features = ["Win32_UI_Shell", "Win32_Foundation"]... | 7 | 7 | 5 | [{"id": "G0", "claim": "Remove the `windows` crate dependency because the crate uses `winapi` and adding `windows` conflicts with it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Do not create the DROPFILES struct separately; cast the raw memory pointe... | null |
DulLabs__bhai-lang__226 | DulLabs/bhai-lang | 226 | defect | 0181ca41abb64cff477b3028db13219bf501eaf7 | 1fb8b8f1f8a47f1c3bbc8d0ad40b21f401d438a3 | feat: Add support for if-else-if ladders in bhailang - #214 | This PR closes issue #214 by adding support for if-else-if ladders
Example:
`
hi bhai
bhai ye hai x = 10;
agar bhai (x < 5) {
bol bhai "x < 5";
} nahi to bhai (x < 8) {
bol bhai "x < 8";
} nahi to bhai (x < 12) {
bol bhai "x < 12";
} nahi to bhai (x < 15) {
bol bha... | diff --git a/.gitignore b/.gitignore
index 45da0d50..ada8da73 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,3 +36,6 @@ yarn-error.log*
# turbo
.turbo
+
+# history vscode extension
+.history/
diff --git a/packages/interpreter/src/components/scope.ts b/packages/interpreter/src/components/scope.ts
index af224345..64... | 5 | 5 | 2 | [{"id": "G0", "claim": "The docs playground should also syntax-highlight the new `nahi to bhai` keyword, not just the existing ones.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new Scope getter for the if-else-ladder flag should follow the ... | null |
Dungeon-CampusMinden__Dungeon__1558 | Dungeon-CampusMinden/Dungeon | 1,558 | defect | aa73b61a16183069f1d8dbe616dc36cf91356af8 | 2e477db1cbff67ed05eeda29d077fc1179a7c300 | Dungeon: Add support for parameterized crafting recipes and enhanced health potions | Ich habe eine neue Logik hinzugefügt, um Parameter für Crafting-Rezepte zu speichern, in diesem Fall verwendet für das Enum, dass die Stärke von Heiltränken steuert. Auf diese Weise haben wir drei Stärken von Heiltränken, die jeweils eine unterschiedliche Menge heilen. Ich habe auch die Tests angepasst und den zufällig... | diff --git a/dungeon/assets/recipes/healtpotion_berry.recipe b/dungeon/assets/recipes/healtpotion_berry.recipe
index 1d44e950ff..6026135164 100644
--- a/dungeon/assets/recipes/healtpotion_berry.recipe
+++ b/dungeon/assets/recipes/healtpotion_berry.recipe
@@ -11,14 +11,10 @@
{
"type": "item",
... | 3 | 2 | 1 | [{"id": "G0", "claim": "Keep a parameterless ItemPotionHealth constructor for backwards compatibility, which should default to the weakest potion strength and delegate to one of the new constructors.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The RAN... | null |
Dungeon-CampusMinden__Dungeon__1562 | Dungeon-CampusMinden/Dungeon | 1,562 | defect | e71bdd0a28904e7671cca083c8ff83373e1ba281 | ae49ae6d8c5b94716fe94bf7499d8f4057886056 | Dungeon: Add configurable inventory rows, item transfer functionality, and improved chest creation logic | Dieser PR führt mehrere neue Funktionen und Verbesserungen ein, darunter konfigurierbare Inventarreihengrößen, die Möglichkeit zum Übertragen von Items zwischen Inventaren und Kesseln per Tastendruck. Sowie eine verbesserte Logik zur Truhenerstellung, bei der angegeben werden kann, ob Truhen leer oder mit zufälligen It... | diff --git a/dungeon/src/contrib/configuration/KeyboardConfig.java b/dungeon/src/contrib/configuration/KeyboardConfig.java
index 744e6c6afd..10a9461c79 100644
--- a/dungeon/src/contrib/configuration/KeyboardConfig.java
+++ b/dungeon/src/contrib/configuration/KeyboardConfig.java
@@ -28,9 +28,14 @@ public class KeyboardC... | 3 | 2 | 1 | [{"id": "G0", "claim": "The javadoc added above TRANSFER_ITEM is a meaningless copied placeholder (\"/** WTF? . */\") and should be replaced with a comment that says something useful.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Deleting the par... | null |
Dungeon-CampusMinden__Dungeon__2235 | Dungeon-CampusMinden/Dungeon | 2,235 | defect | d862874e3b4425da9f7245f97058dd7a1b6e926a | e0f91095756742d9f2d3742c7f3feb6cbfc9e5cb | Dungeon: cleanup level api: `TileLevel` now implements `ITickable`; use `Optional` for `#exitTile` and `startTile`; | * lässt `TileLevel` das interface `ITickable` implementieren
* Es wird kein random start oder end mehr platziert.
* verwendet jetzt `Optional` für `#exitTile()` und `#startTile()`
* entfernen nicht verwendeter/überflüssiger API-Funktionen
* add quality of life functions to api | diff --git a/advancedDungeon/src/aiAdvanced/starter/ComparePathfindingStarter.java b/advancedDungeon/src/aiAdvanced/starter/ComparePathfindingStarter.java
index dad22c8d02..7ddcae365c 100644
--- a/advancedDungeon/src/aiAdvanced/starter/ComparePathfindingStarter.java
+++ b/advancedDungeon/src/aiAdvanced/starter/CompareP... | 3 | 3 | 1 | [{"id": "G0", "claim": "The onLoad/onFirstLoad callback mechanism being removed should be replaced by handling it through the ITickable interface.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since the PR moves away from random levels, the level should... | null |
Dungeon-CampusMinden__Dungeon__2249 | Dungeon-CampusMinden/Dungeon | 2,249 | defect | 1de873f9df263c140b03da7c7000e0d4d283a0af | 1c5dd6407daf6132b6d38e2f4ab190502a0d93fd | Dungeon: Merge `TileLevel` and `DungeonLevel` into one class called `DungeonLevel` | Dieser PR merged die beiden Klassen `TileLevel` und `DungeonLevel` zusammen in die Klasse `DungeonLevel`.
`DungeonLevel` ist ab jetzt der default Type einer konkreten Level-Instanz.
* Der PR nimmt entsprechenden Anpassungen an den bestehenden Level-Subklassen vor.
* entfernt `BasicDungenLevel` da dieser jetzt ü... | diff --git a/advancedDungeon/src/aiAdvanced/starter/ComparePathfindingStarter.java b/advancedDungeon/src/aiAdvanced/starter/ComparePathfindingStarter.java
index 1e9f131a1a..c87c69e955 100644
--- a/advancedDungeon/src/aiAdvanced/starter/ComparePathfindingStarter.java
+++ b/advancedDungeon/src/aiAdvanced/starter/CompareP... | 2 | 2 | 2 | [{"id": "G0", "claim": "A description field on the merged DungeonLevel should be dropped since only the DevDungeon needs one.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "There should be no default level name; the reviewer suggests replacing the hardco... | null |
Dungeon-CampusMinden__Dungeon__2337 | Dungeon-CampusMinden/Dungeon | 2,337 | defect | ce4ad8bf40e9bf7216516f259e64a5ba92ce6902 | bb902964b14e6a0ac657424aa2df8ea0e027be53 | EscapeRoom: add petri net as part of the ECS | Fügt ein Petri-Netz als Teil des ECS hinzu:
* `PlaceComponent` hinzufügen → stellt eine Stelle im Petri-Netz dar und kann Tokens halten.
* `TransitionComponent` hinzufügen → repräsentiert eine Transition im Petri-Netz. Im Code hat diese Komponente eigentlich keinen direkten Mehrwert, erleichtert aber die Modellieru... | diff --git a/escapeRoom/build.gradle b/escapeRoom/build.gradle
index 3e48f9785e..524e8b326d 100644
--- a/escapeRoom/build.gradle
+++ b/escapeRoom/build.gradle
@@ -5,10 +5,16 @@ plugins {
dependencies {
api project(':dungeon')
+
+ // JUnit and Mockito for testing
+ testImplementation supportDependencies.ju... | 3 | 1 | 0 | [{"id": "G0", "claim": "AMatutat does not understand why the JUnit/Mockito test dependencies had to be copied into escapeRoom/build.gradle instead of coming along via the api dependency on the dungeon project, and wants an explanation of that.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scop... | null |
Dungeon-CampusMinden__Dungeon__2456 | Dungeon-CampusMinden/Dungeon | 2,456 | defect | fe491552267a0b494e859ccdb3a70da830f1f681 | 44fdda2cd68702b60d6e165c3107e0d7eda4f857 | Dungeon: Solid Entity Collisions | Fügt ~~zwei~~ eine neue prop in `CollisionComponent` hinzu:
- `isSolid` - ob eine Hitbox solide sein soll
- ~~`isStationary` - ob ein Entity mit dieser Hitbox bei einer Kollision mit einem anderen Entity solid stationär bleiben soll~~ => jetzt abgeleitet dadurch, dass ein Entity keine VelocityComponent hat (oder VC m... | diff --git a/devDungeon/src/level/devlevel/TutorialLevel.java b/devDungeon/src/level/devlevel/TutorialLevel.java
index b437f33b50..f28b466e35 100644
--- a/devDungeon/src/level/devlevel/TutorialLevel.java
+++ b/devDungeon/src/level/devlevel/TutorialLevel.java
@@ -1,6 +1,7 @@
package level.devlevel;
import com.badlog... | 12 | 11 | 2 | [{"id": "G0", "claim": "Document what `solid` and `stationary` mean on the new CollideComponent flags, i.e. what an entity can do when it is solid or stationary.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the commented-out leftover line... | null |
Dungeon-CampusMinden__Dungeon__2551 | Dungeon-CampusMinden/Dungeon | 2,551 | defect | 72da790ad2e99a34438a24f00edc8a771da3e38c | f2ebd40d5813e267dd459c92cd6b8e909c0df055 | Dungeon: Add PositionComponent.scale, Remove move-Hitbox | - `PositionComponent.scale` gibt jetzt die Skalierung des Entities an. Die Skalierung, die in der JSON für Sprites gesetzt werden kann betrifft weiterhin nur das Sprite.
- `DrawSystem` und `CollisionSystem` greifen auf `PositionComponent.scale` zu, um die Skalierung zu bekommen und anzuwenden.
- `Painter` hab ich kom... | diff --git a/blockly/src/entities/BlocklyFireball.java b/blockly/src/entities/BlocklyFireball.java
index 50fe74336b..c01273f554 100644
--- a/blockly/src/entities/BlocklyFireball.java
+++ b/blockly/src/entities/BlocklyFireball.java
@@ -87,8 +87,8 @@ protected void shootProjectile(Entity caster, Point start, Point aimedO... | 3 | 2 | 0 | [{"id": "G0", "claim": "The new corners() method should return a Set instead of a List.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "BlocklyFireball's only difference to a normal fireball is left as commented-out moveboxSize/moveboxOffset lines, and th... | null |
Dungeon-CampusMinden__Dungeon__2655 | Dungeon-CampusMinden/Dungeon | 2,655 | defect | 448de49d6bad2425a66093fb460f370f498bd75b | 8cdf2775dfc9258cb631e37928a28591a93e7a28 | Dungeon: remove SkipTile and use PitTile | Markiert SkipTile als deprecated und erzeugt in der Factory anstelle eines Skips ein Pit.
Ich lass das SkipTile und SkipElement erstmal drine, damit alte Levels noch supported werden. | diff --git a/dungeon/src/core/level/elements/tile/SkipTile.java b/dungeon/src/core/level/elements/tile/SkipTile.java
index 08ef399c2a..42a6fc3d0d 100644
--- a/dungeon/src/core/level/elements/tile/SkipTile.java
+++ b/dungeon/src/core/level/elements/tile/SkipTile.java
@@ -6,7 +6,13 @@
import core.level.utils.LevelElemen... | 1 | 1 | 0 | [{"id": "G0", "claim": "The SKIP case could be merged with the PIT case as `case SKIP, PIT -> new PitTile(...)` instead of duplicating identical constructor calls.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Dungeon-CampusMinden__Dungeon__2864 | Dungeon-CampusMinden/Dungeon | 2,864 | defect | 941e21fa185ccf44f9cacfa5e237bf620f4b448c | 42c062b92ceda5a29b6236f1c753c80632fdbaa1 | TheLastHour: Multiplayer support | * Dungeon: Level State, bestehend aus den Door States, wird jetzt korrekt über den Multiplayer synchronisiert.
* Multiplayer Support für: Computer und Keypads.
* Synchronisieren von dem worldtimer, computerstate und keypadstate für TheLastHour escape room
* Inventar kann jetzt auch nicht mehr getoggelt werden, im ... | diff --git a/dungeon/proto/common/common_types.proto b/dungeon/proto/common/common_types.proto
index 98dca26369..3527663932 100644
--- a/dungeon/proto/common/common_types.proto
+++ b/dungeon/proto/common/common_types.proto
@@ -22,6 +22,13 @@ message Vector2 {
float y = 2;
}
+// Represents a tile coordinate with i... | 4 | 1 | 1 | [{"id": "G0", "claim": "In multiplayer the draw order is messed up: the hero gets drawn over the shelf.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The mana bar should be removed; this room's hero class should not have mana, skills and starter it... | null |
DylanPiercey__local-devices__59 | DylanPiercey/local-devices | 59 | defect | de321bc1de3c38e9e02a56616f82ab914429b583 | c397ea599076d15c6916c824d022f8959dd1accd | Switch to using an object for the arguments and accept a new `arpPath` argument | This updates the API of the `findLocalDevices` function to allow you to optionally specify the path of the `arp` executable using the `arpPath` option, rather than assuming that it is available in the `PATH`.
As part of this change, I make a **breaking change** to the API of the function, switching from positional a... | diff --git a/src/index.d.ts b/src/index.d.ts
index 82f4c8a..4f19435 100644
--- a/src/index.d.ts
+++ b/src/index.d.ts
@@ -1,6 +1,6 @@
declare module "local-devices" {
- function findLocalDevices(address?: any): Promise<findLocalDevices.IDevice[]>;
+ function findLocalDevices(address?: any, skipNameResolution?: ... | 5 | 4 | 2 | [{"id": "G0", "claim": "The README/documentation should be updated to cover the new API and the new arpPath option.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The additional parameters should be accepted in an options object instead of extendi... | null |
DynamoRIO__drmemory__2042 | DynamoRIO/drmemory | 2,042 | defect | a83d8f30d02f56e09f528a607d19b8665488821b | 16b93e96d1b7ebb634d0a4775587df83af97005b | i#2039: Opts out of auto-predication | To fix immediate test errors due to poor interaction between global
auto-predication (introduced in dynamorio/dynamorio#1723) and meta
control flow, we pre-emptively opt out of auto-predication.
Fixes #2039 | diff --git a/common/alloc.c b/common/alloc.c
index c6af356fd..a5cf1f207 100644
--- a/common/alloc.c
+++ b/common/alloc.c
@@ -7086,6 +7086,7 @@ alloc_event_bb_insert(void *drcontext, void *tag, instrlist_t *bb, instr_t *inst
app_pc pc = instr_get_app_pc(inst);
if (pc == NULL)
return DR_EMIT_DEFAULT;
+... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a comment explaining why auto predication is being disabled and whether the disable is meant to be temporary (including the issue number if temporary), to improve code readability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
DynamoRIO__drmemory__2044 | DynamoRIO/drmemory | 2,044 | defect | 2b95a424585788ace5f1515ea503ff279ce4f34b | 37c19608c6dbac7fd432652c46b62e75637d0329 | i#1726: Port Umbra to ARM | Pulls out shadow_table_insert_app_to_shadow() into 2 arch-specific
methods for x86 and for ARM. Also implements this method for ARM.
Issue: #1726 | diff --git a/umbra/CMakeLists.txt b/umbra/CMakeLists.txt
index 9da4481ca..1bd15ebb3 100644
--- a/umbra/CMakeLists.txt
+++ b/umbra/CMakeLists.txt
@@ -38,8 +38,12 @@ set(srcs
# add arch specific src here
if (X64)
set (srcs ${srcs} umbra_x64.c)
-else (X64)
+elseif (X82)
+ set (srcs ${srcs} umbra_x86.c)
+elseif (ARM)... | 9 | 9 | 1 | [{"id": "G0", "claim": "The new ARM path hand-loads the 32-bit shadow table address with movw/movt because INSTR_CREATE_load_int() cannot; the author asks whether the repo already has a shorthand that should be used (or one added).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "int... | null |
DynamoRIO__drmemory__2130 | DynamoRIO/drmemory | 2,130 | defect | 2d1e0a51327ef96d075c2c41a3126f3ee262e765 | 9d54f06c3ce368207ba7150e3f7d4f309ab8083d | i#2283: Adds faulty redzones | Introduces a new option that renders redzones as faulty for umbra_32. When an access, a read or write, is made on a redzone, a fault occurs.
This is useful for detecting cross boundary accesses without the need to perform explicit checks.
This functionality is similar to faults upon writes to shared blocks.
... | diff --git a/tests/framework/CMakeLists.txt b/tests/framework/CMakeLists.txt
index aa53a41ef..26dc67576 100644
--- a/tests/framework/CMakeLists.txt
+++ b/tests/framework/CMakeLists.txt
@@ -180,6 +180,15 @@ use_DynamoRIO_extension(umbra_test_insert_app_to_shadow.client drutil)
target_include_directories(umbra_test_inse... | 9 | 9 | 0 | [{"id": "G0", "claim": "There are not many isolated umbra tests, and adding some (e.g. tests that check redzone accesses) would be appreciated.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The newly added test block in tests/framework/CMakeLists.txt... | null |
DynamoRIO__drmemory__2282 | DynamoRIO/drmemory | 2,282 | defect | a5870152bc8c8e46d82e362b170fcb16d5e40447 | 495fe238b11720357113cd149bfba6dad68f51ef | i#2283: Adds a method for retrieving granularity info about an Umbra Map. | Adds a new function umbra_get_granularity() which returns information about the granularity of an Umbra Map.
Issue: #2283 | diff --git a/umbra/umbra.c b/umbra/umbra.c
index ed8f7c8ed..fa59515fb 100644
--- a/umbra/umbra.c
+++ b/umbra/umbra.c
@@ -758,3 +758,35 @@ umbra_get_shared_shadow_block(IN umbra_map_t *map,
return DRMF_ERROR_INVALID_PARAMETER;
return umbra_get_shared_shadow_block_arch(map, value, value_size, block);
}
+
... | 3 | 3 | 1 | [{"id": "G0", "claim": "The declaration of umbra_get_granularity in umbra/umbra.c should have a newline between the return type and the function name, per project style.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Every line of the new umbra_... | null |
DynamoRIO__drmemory__2284 | DynamoRIO/drmemory | 2,284 | defect | a5870152bc8c8e46d82e362b170fcb16d5e40447 | 61a53ef0fee28635ddb6d612347818b04a0789d8 | i#2283: Adds umbra_clear_redundant_blocks | Adds a new API function which allows the user to trigger the removal of redundant blocks that consist of only default values.
It is useful when low on memory.
Issue #2283 | diff --git a/umbra/umbra.h b/umbra/umbra.h
index 486e32c5a..1a639e54b 100755
--- a/umbra/umbra.h
+++ b/umbra/umbra.h
@@ -725,6 +725,19 @@ umbra_shadow_memory_info_init(umbra_shadow_memory_info_t *info)
info->app_size = 0;
}
+DR_EXPORT
+/**
+ * Clears and deletes redundant NULL blocks for \p map. This function i... | 5 | 5 | 1 | [{"id": "G0", "claim": "The guard for the create-on-touch option returns the generic DRMF_ERROR where a more specific error code such as DRMF_ERROR_FEATURE_NOT_AVAILABLE or DRMF_ERROR_INVALID_PARAMETER would fit.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla... | null |
DynamoRIO__drmemory__2372 | DynamoRIO/drmemory | 2,372 | defect | 92b8fcce43585e3710a4e031aba9ff811b392c7d | 9d17f74f233e62203c61ddcad2277c9db22c88da | i#2341: Improve time for Faulty Redzone Handling. | Improves the time for testing faulty redzones.
The existing test tries to access a faulty redzone upon every memory access. However, the test only needs to test fault handling once. Therefore, the handling flag is checked to avoid unnecessary re-attempts. This improves the overall time of the test.
Fixes: #2341 | diff --git a/tests/framework/umbra_client_faulty_redzone.c b/tests/framework/umbra_client_faulty_redzone.c
index 38f07a1bd..b9e36186b 100644
--- a/tests/framework/umbra_client_faulty_redzone.c
+++ b/tests/framework/umbra_client_faulty_redzone.c
@@ -45,7 +45,7 @@
static umbra_map_t *umbra_map;
/* Denotes whether red... | 6 | 6 | 0 | [{"id": "G0", "claim": "The preprocessor directive should start in the first column of the line.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The if statement should have a space between the closing parenthesis and the opening brace: `) {`.", "category"... | null |
DynamoRIO__drmemory__2406 | DynamoRIO/drmemory | 2,406 | defect | 78be9a9bf67020a4a150a63086a4141897e2c6eb | ada76d7f247a40d1677b8afe21270f90b0512eaf | i#2016 AArch64: add initial testing for non-pattern mode | This patch edits tests/CMakeLists.txt to enable a selection of
existing tests for drmemory aarch64 as supported by the larger
initial aarch64 slowpath patch. | diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index deb9862c5..0647a930b 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -108,6 +108,8 @@ function(set_props target)
# DrMem itself gets ARM from dr_api.h but tests need it on their own:
if (ARM)
set(defs ${defs} ARM)
+ elseif (AARCH... | 3 | 3 | 0 | [{"id": "G0", "claim": "Update the ARM-only comments in tests/CMakeLists.txt ('# i#1726: ARM is only supported in pattern mode.' and the '# XXX i#1726: port to ARM' comments here and below) so they also reference i#2016/AArch64.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduc... | null |
DynamoRIO__dynamorio__4778 | DynamoRIO/dynamorio | 4,778 | defect | 089be70544348b7a3153f74705e335d066ce40ea | 324d4dc47ed114b889f9cf2c8d1a8b5323ac2b2f | i#4777: Fix uninitialized drmodtrack offset on Windows | PR #2940 and #2973 added an offset field to drmodtrack for #2939, but
they ifdef-ed the field in some places but not others, resulting in
uninitialized output. Since it's already locked into the interface,
we always set it to 0 here and include it in internal structures to
fix the problem.
Tested on drmodtrack-... | diff --git a/ext/drcovlib/drcovlib.h b/ext/drcovlib/drcovlib.h
index e06aa7549e..c7184ed9d9 100644
--- a/ext/drcovlib/drcovlib.h
+++ b/ext/drcovlib/drcovlib.h
@@ -256,6 +256,7 @@ typedef struct _drmodtrack_info_t {
uint index;
/**
* The offset of this segment from the beginning of this backing file.
+ ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Maybe use /* */ style for the comment in module_table_entry_print instead of //.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
DynamoRIO__dynamorio__4877 | DynamoRIO/dynamorio | 4,877 | defect | 88a8a6cad1043cc75db74058e3cf688dd629d69a | b2a1894673fe5be40f6a1318e97825fda3c3a8ff | i#4866: Mark string loop expansion as emulation | Adds drmgr emulation labels to the rep string loop expansion performed by
drutil_expand_rep_string_ex().
Adds testing of the labels to the drutil test.
The end label for the rep string emulation is *after* the block-final
branch. This breaks DR's block requirements. Since we need the label
there, we go ahead... | diff --git a/api/docs/release.dox b/api/docs/release.dox
index 5f9214d325..26f9e86021 100644
--- a/api/docs/release.dox
+++ b/api/docs/release.dox
@@ -205,6 +205,9 @@ Further non-compatibility-affecting changes include:
- Added dr_is_detaching(), an API to query whether detach is in progress.
- Added instr_zeroes_z... | 2 | 1 | 0 | [{"id": "G0", "claim": "Consider adding a separate instr_remove_label_callback() API for callback removal and an assert here that cb != NULL, instead of allowing removal through instr_set_label_callback().", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "T... | null |
DynamoRIO__dynamorio__4920 | DynamoRIO/dynamorio | 4,920 | defect | 8a08285b78c812dd7820ade3f43a0c758fc190fd | 037b618c73a292fddd724b3f33ad8d73aadd366a | i#4865: Add emulation instr-only and convenience features | Adds a convenience routine drmgr_in_emulation_region() and flag
DR_EMULATE_FIRST_INSTR to make it easier to query emulation markers.
Adds a new flag DR_EMULATE_INSTR_ONLY for expansions where the
sequence being executed should be examined for data references
and only instruction observation should look at the ori... | diff --git a/api/docs/release.dox b/api/docs/release.dox
index a0338c21e1..b8341046ca 100644
--- a/api/docs/release.dox
+++ b/api/docs/release.dox
@@ -161,6 +161,13 @@ compatibility changes:
dr_api.h includes the new files, so users including dr_api.h are unaffected.
- The routines dr_insert_save_fpstate(), dr_in... | 12 | 9 | 0 | [{"id": "G0", "claim": "Remove the extra blank line at the start of emulate_fully().", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Use the PRE macro (with INSTR_XL8) for the instruction inserts in the AArch64 section too, as is already done in ... | null |
DynamoRIO__dynamorio__4949 | DynamoRIO/dynamorio | 4,949 | defect | f5902af84b9763e6135a7282960c74bf712e83ba | 1bd30964987ae159507c5a4fc3c72a3227b7971f | i#3823 multi-phase drreg: Remove slot id labels. | Modifies free spill slot selection logic to use is_our_spill_or_restore instead
of the labels with spill slot use information added for this purpose. We do not
need the extra information in the latter and can simply use the former routine.
Removes the extra spill slot use metadata added in form of labels from the
... | diff --git a/ext/drreg/drreg.c b/ext/drreg/drreg.c
index 15a489c768..be86d8c05c 100644
--- a/ext/drreg/drreg.c
+++ b/ext/drreg/drreg.c
@@ -68,14 +68,6 @@
/* This should be pretty hard to exceed as there aren't this many GPRs */
#define MAX_SPILLS (SPILL_SLOT_MAX + 8)
-/* We store data about spill slot usage in the ... | 3 | 3 | 2 | [{"id": "G0", "claim": "The new documentation is incorrect: dr_insert_write_tls_field() uses the single client field, unrelated to drreg (except via drmgr multiplexing), so drreg's TLS conflict note should not cite it.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id... | null |
DynamoRIO__dynamorio__4952 | DynamoRIO/dynamorio | 4,952 | defect | f5902af84b9763e6135a7282960c74bf712e83ba | 8f35c256d5019c3d5da837d5f2aaa952dc32c102 | i#4865 emulate: Add new emulation instrumentation API | Adds a new emulation instrumentation interface with simpler
convenience routines for identifying the original application
instruction fetch and operands.
Uses the new interface in memtrace_simple. Separate commits will
update memval_simple, memtrace_x86, and drmemtrace.
Adds an x86 test that runs the memtrace... | diff --git a/api/docs/release.dox b/api/docs/release.dox
index 7a03c8dfb3..5161f1c1e7 100644
--- a/api/docs/release.dox
+++ b/api/docs/release.dox
@@ -217,7 +217,8 @@ Further non-compatibility-affecting changes include:
- Added #DRREG_HANDLE_MULTI_PHASE_SLOT_RESERVATIONS to #drreg_bb_properties_t to
enable logic ... | 15 | 13 | 2 | [{"id": "G0", "claim": "The release-notes entry is missing an ending parenthesis after drmgr_orig_app_instr_for_fetch.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Some of the per_thread_t fields would benefit from explanatory comments.", "categ... | null |
DynamoRIO__dynamorio__5084 | DynamoRIO/dynamorio | 5,084 | defect | 4237ee7fe897364ca2f62ef1b6f6035945865c43 | f78210a59edc71124e973c7a1832c10b2772217f | i#2626: AArch64 v8.0 decode: Add SQSHL, SHL and SLI | This patch implements the instructions:
`SQSHL <V><d>, <V><n>, #<shift>`
`SHL <Vd>.<T>, <Vn>.<T>, #<shift>`
`SLI <Vd>.<T>, <Vn>.<T>, #<shift>`
To implement these instructions an additional
operand was necessary to allow a zero-indexed
shift. The appropriate encode tests for an
instruction using this immhb_0shf... | diff --git a/core/ir/aarch64/codec.c b/core/ir/aarch64/codec.c
index cea255c855..d402a5d8b0 100644
--- a/core/ir/aarch64/codec.c
+++ b/core/ir/aarch64/codec.c
@@ -2733,6 +2733,58 @@ encode_opnd_immhb_shf(uint enc, int opcode, byte *pc, opnd_t opnd, OUT uint *enc
return true;
}
+/* immhb_shf2: The vector encodin... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new decode_opnd_immhb_0shf and encode_opnd_immhb_0shf functions duplicate common functionality with the existing immhb_shf decode/encode functions; factor the common code out into two functions (one for decode, one for encode) and call those.", "category": "maintainability", "verdict": "supp... | null |
DynamoRIO__dynamorio__5175 | DynamoRIO/dynamorio | 5,175 | defect | de0e27484fa254d50a6989304d2443574f6fdf24 | 31e015ea6f0f5e233824bae960f07d5d02795b10 | i#5177: Fix crash due to bad redirect in client.signal test | Fixes a crash due to jumping in the middle of a routine in
the client.signal test, which skips the saving/setting of the
frame pointer added in the beginning of routines.
Redirects execution to the beginning of the hook routine,
instead of somewhere in the middle which can cause
issues if essential code sequence... | diff --git a/suite/tests/client-interface/signal.c b/suite/tests/client-interface/signal.c
index 91665cd294..30ec53b6ee 100644
--- a/suite/tests/client-interface/signal.c
+++ b/suite/tests/client-interface/signal.c
@@ -63,24 +63,28 @@ long_jump_to_mark(void)
SIGLONGJMP(mark, 1);
}
-static void
-hook_and_long_ju... | 2 | 2 | 1 | [{"id": "G0", "claim": "The added multi-sentence comment should be capitalized: change 'use 2 NOPs...' to 'Use 2 NOPs...'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "If it accomplishes the same test, redirect to the start address of hook_and_l... | null |
DynamoRIO__dynamorio__5206 | DynamoRIO/dynamorio | 5,206 | defect | bc88667fa8ef479c11f0510974f84b2d4e359ec1 | 06c89d90774f6b636ee2b563fd05e5bb0f499ec0 | Fix missing reg encoding info for aarch64 | The register information (including `reg_get_size()` and register name `reg_names`) is lacked for AArch64, including, `DR_REG_CNTVCT_EL0`, `DR_REG_NZCV`, `DR_REG_FPCR`, and `DR_REG_FPSR`. This lack of information will cause client failure as follows (e.g., client tool called `reg_get_size(DR_REG_CNTVCT_EL0)`):
```
... | diff --git a/core/ir/aarch64/encode.c b/core/ir/aarch64/encode.c
index adeed88be9..a94ed6a562 100644
--- a/core/ir/aarch64/encode.c
+++ b/core/ir/aarch64/encode.c
@@ -44,42 +44,42 @@
/* Order corresponds to DR_REG_ enum. */
const char *const reg_names[] = {
- "<NULL>", "<invalid>", "x0", "x1", "x2", "x3... | 5 | 5 | 3 | [{"id": "G0", "claim": "The new test's loop bound is a fencepost error: since DR_REG_LAST_VALID_ENUM is inclusive the condition should be <= rather than <.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The code that skips registers whose name is em... | null |
DynamoRIO__dynamorio__5248 | DynamoRIO/dynamorio | 5,248 | defect | 133c52ac8a2390796550fb6402b01daec527ac07 | 495372b6a1de2f7aff4545ecc3a86eefb137232e | i#5245: Handle exclusive loads into the zero register | Adds handling for AArch64 exclusive loads that discard a value by
targeting the zero register. Without this fix, we loop forever in the
store since we load the real value and compare it to the zero we
recorded. Our fix is to replace the zero register with a scratch
register so that we record the actual value at l... | diff --git a/api/docs/ldstex.dox b/api/docs/ldstex.dox
index 56fab8e5c7..8fbd24a757 100644
--- a/api/docs/ldstex.dox
+++ b/api/docs/ldstex.dox
@@ -183,7 +183,7 @@ One complication is multiple different load-exclusive opcodes pairing with a sin
- Storing the load opcode into its own TLS slot, but we do not know what to... | 4 | 3 | 0 | [{"id": "G0", "claim": "The call to insert_save_to_tls_if_necessary for the xzr replacement register is made even when xzr_restore is false, i.e. when the save is not required.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The xzr restore could be ... | null |
DynamoRIO__dynamorio__5249 | DynamoRIO/dynamorio | 5,249 | defect | 117b00d1832f4d8c75c358ea18019714613f74ba | 83c8418b1766e50370c8c6c767516df217f6bd1a | i#5247: Handle exclusive loads sharing store result | Adds handling for AArch64 exclusive loads whose destination equals the
result register of the paired exclusive store. For optimized
same-block handling, without this fix our value comparison loops
forever as it clobbers the original value by using the dead store
result register.
The fix is to use a scratch regi... | diff --git a/core/arch/aarchxx/mangle.c b/core/arch/aarchxx/mangle.c
index c2bc9c5862..25d830f43a 100644
--- a/core/arch/aarchxx/mangle.c
+++ b/core/arch/aarchxx/mangle.c
@@ -3014,7 +3014,7 @@ create_ld_from_ldex(dcontext_t *dcontext, instr_t *ldex)
}
static instr_t *
-create_ldax_from_stex(dcontext_t *dcontext, in... | 8 | 5 | 1 | [{"id": "G0", "claim": "The new ARM test's compares after the stlexd instructions check r1 instead of the exclusive store's result register (r2 in the first loop, r10 in the second), so the retry loops do not test the store result.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introdu... | null |
DynamoRIO__dynamorio__5255 | DynamoRIO/dynamorio | 5,255 | defect | 84bf9288a12e8e38abab04d4d8273cc3226fa13c | 2a30eed2c2d37dca37afc406599e1fb59a55099c | i#5254: handle rt_sigprocmask error cases. | Handles the EINVAL and EFAULT cases in rt_sigprocmask. Some code
uses this syscall to check whether a given address is valid;
e.g. https://github.com/abseil/abseil-cpp/blob/master/absl/debugging/internal/address_is_readable.cc#L85
This requires DR to return EFAULT as expected by the app.
Also adds tests for some ... | diff --git a/core/unix/os.c b/core/unix/os.c
index e63bb29a63..b2a780965b 100644
--- a/core/unix/os.c
+++ b/core/unix/os.c
@@ -7337,6 +7337,7 @@ pre_system_call(dcontext_t *dcontext)
size_t sigsetsize)
*/
/* we also need access to the params in post_system_call */
+ uint errno_va... | 7 | 6 | 5 | [{"id": "G0", "claim": "The new error-out parameter and variable should not be named errno_val/errno_value because that name implies the glibc errno variable; use error_code or similar.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The check on... | null |
DynamoRIO__dynamorio__5296 | DynamoRIO/dynamorio | 5,296 | defect | 9ddf8c693a9c00d0ab7097edee0b952acf05a212 | ff295b6d69c8a9a560a23283fee19d9a052c56ac | i#2985 scatter-gather: add design doc. | Adds a design doc with details of the various pieces
involved in adding support for scatter-gather instrs.
Fixes #2985 | diff --git a/api/docs/developers.dox b/api/docs/developers.dox
index a33e910adc..9b10006e69 100644
--- a/api/docs/developers.dox
+++ b/api/docs/developers.dox
@@ -53,6 +53,7 @@ Information for DynamoRIO developers/contributors:
- \subpage page_rseq
- \subpage page_ldstex
- \subpage page_external_decoder
+- \subpage ... | 27 | 25 | 2 | [{"id": "G0", "claim": "The new comment in drx.c should say \"document\" instead of \"wiki\", since the linked page is not an online-edited wiki page.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "\"We choose to implement custom spill logic\" rea... | null |
DynamoRIO__dynamorio__5298 | DynamoRIO/dynamorio | 5,298 | defect | faf502728968e8d003b912b6771b3df5ed9bc7aa | 483a73bb3cb0f6e7a507b4d7acc6408d9b8f65ce | i#5297: Relax a64 jmp-to-label encoding failures | Removes a requirement for an aligned target when encoding without
checking reachability, to allow a branch to a label whose note is set
to a small integer during instrumentation.
Removes a debug warning about an encoding failure for
!assert_reachable for the same reason: a branch to a label with a
small note val... | diff --git a/core/ir/aarch64/codec.c b/core/ir/aarch64/codec.c
index 27aa9d3d9b..1d42665185 100644
--- a/core/ir/aarch64/codec.c
+++ b/core/ir/aarch64/codec.c
@@ -1,5 +1,5 @@
/* **********************************************************
- * Copyright (c) 2017-2021 Google, Inc. All rights reserved.
+ * Copyright (c) 2... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new debug-only SYSLOG is suppressed whenever assert_reachable is false, so encoding failures not caused by reachability (which the caller may still want to see) go unreported.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
DynamoRIO__dynamorio__5306 | DynamoRIO/dynamorio | 5,306 | defect | faf502728968e8d003b912b6771b3df5ed9bc7aa | b655d8f99dd383e7c1352e96d519f4b58e715eef | i#5302: Fix a32 assert on rel-addr opnd disassembly | Adds correct ifdef ARM handling of REL_ADDR_kind operands when
disassembling, and in legacy loadtoconst code.
Adds a test to api.ir (confirmed it fails without this fix).
Fixes other latent issues in api.ir on arm which unfortunately does
not run on QEMU yet and so is not run automatically in today's CI.
Teste... | diff --git a/core/arch/loadtoconst.c b/core/arch/loadtoconst.c
index fc214e2791..ce88bb4f3d 100644
--- a/core/arch/loadtoconst.c
+++ b/core/arch/loadtoconst.c
@@ -1,5 +1,5 @@
/* **********************************************************
- * Copyright (c) 2012-2019 Google, Inc. All rights reserved.
+ * Copyright (c) 2... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new test_instr_encoding path should assert that the instr_encode result pc is not NULL, a check present in the old test_pcrel code that this change dropped.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "test_pcrel should... | null |
DynamoRIO__dynamorio__5357 | DynamoRIO/dynamorio | 5,357 | defect | b7b47716d1c4ad52fee4651c4b9afa9e60ea2bdf | 02144029be4fa3436c02c654c8b776bf9622b7a8 | i#5356: Add drwrap control inversion option | Adds a new global flag to drwrap which inverts control such that the
client must explicitly invoke drwrap's app2app and instrumentation
handlers. This lets a client use drbbdup with drwrap only applying to
a subset of the cases.
Given missing pieces in drbbdup, only drwrap wrapping is supported
this way: not dr... | diff --git a/ext/drwrap/drwrap.c b/ext/drwrap/drwrap.c
index 653650505d..2ece2d6894 100644
--- a/ext/drwrap/drwrap.c
+++ b/ext/drwrap/drwrap.c
@@ -885,6 +885,11 @@ static dr_emit_flags_t
drwrap_event_bb_insert(void *drcontext, void *tag, instrlist_t *bb, instr_t *inst,
bool for_trace, bool tran... | 11 | 10 | 2 | [{"id": "G0", "claim": "The comment on the wrap_lock = NULL line in drwrap_exit is unclear and should read \"For early drwrap_set_global_flags() after re-attach\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The lock created in drwrap_set_globa... | null |
DynamoRIO__dynamorio__5399 | DynamoRIO/dynamorio | 5,399 | defect | 2407394df98ec4126d9b6c19bddd7b88fb577617 | 514c93fa0ac091892203cb42bbad8c95653fd7f7 | i#5398: Handle rep string expansion in drbbdup | Fixes a bug involving rep string expansion where drbbdup told drreg
to ignore control flow even when it was present in the app block.
Adds a guard on that setting based on a check for app control flow.
Adds a custom app for the drbbdup-emul-test which contains a zero-iter
rep string, and augments the test client ... | diff --git a/ext/drbbdup/drbbdup.c b/ext/drbbdup/drbbdup.c
index 023bf1134b..eca8c48161 100644
--- a/ext/drbbdup/drbbdup.c
+++ b/ext/drbbdup/drbbdup.c
@@ -343,6 +343,16 @@ drbbdup_destroy_manager(void *manager_opaque)
dr_global_free(manager, sizeof(drbbdup_manager_t));
}
+static bool
+drbbdup_ilist_has_cti(inst... | 3 | 3 | 0 | [{"id": "G0", "claim": "Add a comment stating that drbbdup_ilist_has_cti must always be called prior to inserting cti of drbbdup's dispatcher.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test lacks a global sanity check ensuring the test ca... | null |
DynamoRIO__dynamorio__5407 | DynamoRIO/dynamorio | 5,407 | defect | 518af7be25b79ac6a31913de0e1c5735e1ee235d | a6ab759946013b9c58d1090fa4cb242a34abbccb | i#5390: Full handling of emulation markers in drbbdup | Fixes several shortcomings in the initial attempt to use emulation
markers to support the drmgr emulation API in drbbdup, and fixes
related issues in drmemtrace when it uses drbbdup.
Adds missing emulation markers for a special instr for the last bbdup case (previously only the earlier cases were marked).
Remov... | diff --git a/clients/drcachesim/tracer/instru_offline.cpp b/clients/drcachesim/tracer/instru_offline.cpp
index a8411b8c71..e4fff89955 100644
--- a/clients/drcachesim/tracer/instru_offline.cpp
+++ b/clients/drcachesim/tracer/instru_offline.cpp
@@ -558,9 +558,11 @@ offline_instru_t::instrument_memref(void *drcontext, ins... | 1 | 1 | 0 | [{"id": "G0", "claim": "drbbdup_is_at_end_initial duplicates the end-detection logic instead of calling drbbdup_is_at_end() here.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
DynamoRIO__dynamorio__5419 | DynamoRIO/dynamorio | 5,419 | defect | 9828105ec3e053d720a0d7e66545bda4cf46bbbc | ae448bf4e6261814b0b449acdaaaa4c62e11d2b8 | i#5411 bbdup mem: Shrink per-thread heap usage | Moves all drbbdup per-thread memory to unreachable heap.
Moves the drbbdup dynamic case hit table to be dynamically allocated
based on a new drbbdup option "never_enable_dynamic_handling" not
being set. This eliminates 128K per thread for drmemtrace, which
makes a big difference on large applications.
Sanity ... | diff --git a/clients/drcachesim/tracer/tracer.cpp b/clients/drcachesim/tracer/tracer.cpp
index 06e035b612..a3f7c96baf 100644
--- a/clients/drcachesim/tracer/tracer.cpp
+++ b/clients/drcachesim/tracer/tracer.cpp
@@ -928,6 +928,8 @@ instrumentation_drbbdup_init()
opts.runtime_case_opnd = OPND_CREATE_ABSMEM(&tracing_... | 2 | 2 | 0 | [{"id": "G0", "claim": "Add an assert in drbbdup_thread_exit that opts.never_enable_dynamic_handling should be false at the point where pt->hit_counts is freed.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Sprinkle asserts in the code-base where o... | null |
DynamoRIO__dynamorio__5428 | DynamoRIO/dynamorio | 5,428 | defect | 9a7eddbc5606df355decf828935b98d9cca86ace | 4c41711db36baaaf051fd3fe5e098dc5bba60508 | i#5411 bbdup mem: Eliminate per-block bookkeeping for no-dup usage | Augments drbbdup to allow a value of 0 for
drbbdup_options_t.non_default_case_limit. When it is set to 0, no
duplication will occur, and no per-block data structures will be
allocated, saving memory.
Adds a test case for this.
Updates drmemtrace to use this when multi-case options are not
selected.
Sanity... | diff --git a/clients/drcachesim/tracer/tracer.cpp b/clients/drcachesim/tracer/tracer.cpp
index a3f7c96baf..a87825083d 100644
--- a/clients/drcachesim/tracer/tracer.cpp
+++ b/clients/drcachesim/tracer/tracer.cpp
@@ -241,6 +241,13 @@ has_tracing_windows()
return op_trace_for_instrs.get_value() > 0 || op_retrace_ever... | 2 | 1 | 0 | [{"id": "G0", "claim": "A comment should be added stating that the case info struct passed to the user is a dummy.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Integrating drbbdup into drmgr so its callbacks are not called when dups are off woul... | null |
DynamoRIO__dynamorio__5444 | DynamoRIO/dynamorio | 5,444 | defect | 0014a2dc51e5246286f8ffe9a16d4f7593cc1786 | eb0ad23562cf66211c4a478143f1132bc9a41b07 | i5440: AVX512 VNNI support | Added support for AVX512 VNNI instructions
Issue: #5440 | diff --git a/core/ir/x86/decode_table.c b/core/ir/x86/decode_table.c
index 2ad6ce5111..7eaf8b7fb9 100644
--- a/core/ir/x86/decode_table.c
+++ b/core/ir/x86/decode_table.c
@@ -1608,6 +1608,12 @@ const instr_info_t * const op_instr[] =
/* OP_encls */ &rm_extensions[1][7],
/* OP_enclu */ &rm_ex... | 3 | 3 | 3 | [{"id": "G0", "claim": "The pull request should add ground-truth VNNI test cases from the latest binutils into third_party/binutils/test_decenc/ (and as requested, document this as a step in the opcode-adding checklist).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "... | null |
DynamoRIO__dynamorio__5462 | DynamoRIO/dynamorio | 5,462 | defect | 89a11449e60216ca698688331892486a9c40ff91 | 006b034fd75aa90606bdedc68115e5cfdd659129 | i#38 attach: Make -skip_syscall the default | Makes interrupting a blocking syscall on attach the default behavior.
Removes the -skip_syscall drrun/drinject parameter.
Adds a test by adding an optional blocking syscall to infloop.
Issue: #38 | diff --git a/api/docs/release.dox b/api/docs/release.dox
index 320852f756..3dd9c9fa88 100644
--- a/api/docs/release.dox
+++ b/api/docs/release.dox
@@ -126,7 +126,8 @@ clients.
The changes between version \DR_VERSION and 9.0.1 include the following compatibility
changes:
- - Nothing yet (placeholder).
+ - Eliminated... | 1 | 1 | 0 | [{"id": "G0", "claim": "The empty EINTR branch is redundant and the check could be more concise as a single condition that only prints when select failed with something other than EINTR.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
DynamoRIO__dynamorio__5519 | DynamoRIO/dynamorio | 5,519 | defect | bdb0ab331223c187043254a816d2cf9f3a5948ed | e29616dac0fee7d7ff3a1e1738e361c0cd4e57f1 | i#4014 dr$sim phys: Export open-address hashtable from DR | For virtual-to-physical translation, we cannot use a 3rd-party library
such as STL due to static linking constraints. Yet the drcontainers
hashtable performs poorly; we need an open-address hashtable. Since
DR has one we export it here in a new interface.
Adds a simple test and documentation.
Issue: #4014 | diff --git a/api/docs/release.dox b/api/docs/release.dox
index 7db4d7b1ac..e8d7faa9e9 100644
--- a/api/docs/release.dox
+++ b/api/docs/release.dox
@@ -140,6 +140,10 @@ Further non-compatibility-affecting changes include:
choices under the -raw_compress option. Compressing with lz4 is now the
default (if built ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The hashtable_init doc comment should explicitly mention above that this hashtable uses closed addressing.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The dr_hashtable_create docs should include the recommendation that a... | null |
DynamoRIO__dynamorio__5594 | DynamoRIO/dynamorio | 5,594 | defect | 4e41da314d7f593be3b0a3d3282cba1832a99228 | b503b35cd292e4c0660de3cd6c572d8b44eb378a | i#5505 kernel trace: Upgrade dr$sim to record syscall's kernel PT | Updates drpt2ir and drpttracer and adds a new module syscall_pt_trace that provides an API for syscall's kernel PT tracing:
(1) Updates drpttracer extension.
Adds drpttracer_create_tracer() and drpttracer_destroy_tracer().
In the original implementation, the client will get a tracer by calling drpttracer_start_tr... | diff --git a/clients/drcachesim/CMakeLists.txt b/clients/drcachesim/CMakeLists.txt
index 5184b252be..0a56140874 100644
--- a/clients/drcachesim/CMakeLists.txt
+++ b/clients/drcachesim/CMakeLists.txt
@@ -301,6 +301,12 @@ macro(add_drmemtrace name type)
tracer/func_trace.cpp
${client_and_sim_srcs}
)
+ if ... | 56 | 41 | 6 | [{"id": "G0", "claim": "The BUILD_PT_TRACER define should be set through a cmakedefine rather than add_definitions(-DBUILD_PT_TRACER).", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The TRACE_MARKER_TYPE_SYSCALL_ID documentation should say the marker is em... | null |
DynamoRIO__dynamorio__5647 | DynamoRIO/dynamorio | 5,647 | defect | 15cde3aaa4e7ae0609813709d306ef36633384fb | 0797d6b189b0b4e4d2452ef87183f866e9b80614 | i#5644 Apply EVEX compressed disp when segment prefixes are present | The current behavior is simply a bug, the compressed displacement adjustment needs to be performed whether segment prefixes are present or not.
Fixes #5644 | diff --git a/core/ir/x86/decode.c b/core/ir/x86/decode.c
index 5676ecfb34..16d522e951 100644
--- a/core/ir/x86/decode.c
+++ b/core/ir/x86/decode.c
@@ -1761,6 +1761,10 @@ decode_modrm(decode_info_t *di, byte optype, opnd_size_t opsize, opnd_t *reg_opn
}
force_full_disp = !needs_full_disp && di->has_dis... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new standalone `if (di->evex_encoded)` block applying the compressed disp scaling should be merged into the end of the same if condition a few lines up (around lines 1756-1761).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c... | null |
DynamoRIO__dynamorio__5653 | DynamoRIO/dynamorio | 5,653 | defect | d941df9556f1e0b53d406ce59b17d444f1271182 | 66bdba722220edbdffa496e8e7fd97b807dbbdb6 | i#2039 trace trim, part 1: Add post-attach and pre-detach events | Adds two new DR events: post-attach and pre-detach. These help tools align instrumentation with points where all threads are under DR control, avoiding uneven thread execution during the incremental staggered attach and detach processes.
Adds some sanity tests that the events are called where they should be. Addin... | diff --git a/api/docs/release.dox b/api/docs/release.dox
index 43eedce2ce..4ad4a01d3a 100644
--- a/api/docs/release.dox
+++ b/api/docs/release.dox
@@ -169,6 +169,9 @@ Further non-compatibility-affecting changes include:
- Changed the default drmemtrace offline file format from .gz to .zip and
added the option -ch... | 3 | 2 | 0 | [{"id": "G0", "claim": "Fix the typo 'return' -> 'returned' in the dr_register_pre_detach_event doc comment.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "dr_register_pre_detach_event should check dynamo_control_via_attach before adding the callb... | null |
DynamoRIO__dynamorio__5660 | DynamoRIO/dynamorio | 5,660 | defect | 44312ad1c80eb194bf426b317e26342fcb97f086 | 6720d0d675f37bf33c9f801bc966864ced32c7a1 | i#5659: Handle multiple app copies in rseq mangling | Adds support for multiple app copies in rseq mangling finalization's search for labels to fill in code cache PC's.
Adds support for multiple rseq regions in one fragment_t by expanding the stored rseq_cs per fragment to become a list.
Adds "-trace_after_instrs 5K" to the tool.drcacheoff.rseq test to exercise rseq... | diff --git a/core/arch/mangle_shared.c b/core/arch/mangle_shared.c
index 41f47e3052..5985f08f5d 100644
--- a/core/arch/mangle_shared.c
+++ b/core/arch/mangle_shared.c
@@ -1404,14 +1404,13 @@ mangle_rseq_finalize(dcontext_t *dcontext, instrlist_t *ilist, fragment_t *f)
instr_t *instr, *immed_first = NULL, *immed_la... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment on storing multiple rseq_cs per fragment should say the multiplicity comes from drbbdup making multiple copies of the app code, not from the app itself.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
DynamoRIO__dynamorio__5681 | DynamoRIO/dynamorio | 5,681 | defect | eca2c71b44ae6a357980acca3a844f337f04a1ce | 2cec1b1c2139c10f316a086944b9b3915ace4612 | i#3044: Add a type to represent aarch64 vectors | Previously in the IR we have represented vectors by a plain H, S, D or Q register combined with a faux-imm added after the last vector to give a hint to its size.
This patch uses the .size field of the opnd struct to include the element size, similar to how partial registers are used for x86. Element Vector register... | diff --git a/core/ir/aarch64/codec.c b/core/ir/aarch64/codec.c
index c24e2fb907..c4424364c3 100644
--- a/core/ir/aarch64/codec.c
+++ b/core/ir/aarch64/codec.c
@@ -547,16 +547,17 @@ encode_reg(OUT uint *num, OUT bool *is_x, reg_id_t reg, bool is_sp)
/* Decode SIMD/FP register. */
static inline opnd_t
-decode_vreg(ui... | 14 | 12 | 3 | [{"id": "G0", "claim": "Storing the vector element size in the operand's size field leaves no way to represent an operand that needs both an element size and a sub-register/total size (possibly an issue for other ISAs), so the element size should be fitted into unused opnd_t bits (e.g. for REG_kind) so both sizes are s... | null |
DynamoRIO__dynamorio__5684 | DynamoRIO/dynamorio | 5,684 | defect | 2d760367e45646e80635a5b3af140c771dd4a3ad | a63602c2a45d67538859e730a767f4b4071fcb1b | i#5683: Detect bb truncation in drstatecmp | Checks for block truncation in drstatecmp so it can use the post-app2app ilist instead of incorrectly using the untruncated version in its state comparison.
Adds a test of drcachesim offline that fails with a false positive without this fix.
Fixes #5683 | diff --git a/clients/drcachesim/tests/offline-drstatecmp-delay-simple.templatex b/clients/drcachesim/tests/offline-drstatecmp-delay-simple.templatex
new file mode 100644
index 0000000000..b0b491ebec
--- /dev/null
+++ b/clients/drcachesim/tests/offline-drstatecmp-delay-simple.templatex
@@ -0,0 +1,4 @@
+Hit delay thresho... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new online drstatecmp-delay-simple test may not hit the app2app-truncation case, since ci_shared_app (hello,world) only very likely, but not guaranteed, contains rep strings for drmemtrace to truncate.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"},... | null |
DynamoRIO__dynamorio__5718 | DynamoRIO/dynamorio | 5,718 | defect | a2b1d4bab699208185894e48c5b3e177365a9911 | b836908ef3376184786191f4107359f734a256cb | i#3044 AArch64 SVE codec: Add support for predicate modes in the IR | i#3044 AArch64 SVE codec: Add support for predicate modes in the IR
This patch adds two new flags to the opnd structure for the use of predicate registers. In AArch64 SVE predicate registers can be zeroing or merging or neither, represented in assembly by register qualifiers /M, /Z or no qualifier. The change assign... | diff --git a/core/ir/aarch64/codec.c b/core/ir/aarch64/codec.c
index 7803c2b01d..72da5cd327 100644
--- a/core/ir/aarch64/codec.c
+++ b/core/ir/aarch64/codec.c
@@ -590,6 +590,9 @@ encode_vreg(INOUT opnd_size_t *x, OUT uint *r, opnd_t opnd)
} else if ((uint)(reg - DR_REG_Z0) < 32) {
n = reg - DR_REG_Z0;
... | 5 | 4 | 2 | [{"id": "G0", "claim": "The comment on DR_OPND_IS_PREDICATE should clarify what \"neither\" (no merge/zero flag set) means for masked vector operations.", "category": "documentation", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "opnd_is_predicate_reg(), which tests the AArch64 ... | null |
DynamoRIO__dynamorio__5791 | DynamoRIO/dynamorio | 5,791 | defect | 301f9ed57608437b80152f93e5268c6d177774f8 | eb4eb029893ed43b5be2a357362b759c7ed783fd | i#5786: Add precise clean call mangling identification | Adds new labels delimiting clean call sequences.
Converts into a translation record flag when storing translations.
Uses the new labels and flag to precisely identify clean call mangling,
replacing the previous scheme which incorrectly thought mangled tool
pc-relative was a clean call, resulting in incorrect tr... | diff --git a/CMakeLists.txt b/CMakeLists.txt
index b9f2ef09b7..807ecd84eb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -567,7 +567,7 @@ endif (EXISTS "${PROJECT_SOURCE_DIR}/.svn")
# N.B.: when updating this, update the default version in ci-package.yml.
# We should find a way to share (xref i#1565).
-set(VER... | 6 | 3 | 0 | [{"id": "G0", "claim": "DR_NOTE_FIRST_RESERVED leaves DR only 16 reserved note values, which the new translation labels could exhaust, so the reservation value should be reduced to give DR at least a few hundred if not thousands.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, ... | null |
DynamoRIO__dynamorio__5866 | DynamoRIO/dynamorio | 5,866 | defect | f5567220957b4bddd0a042e4015eb91069d74736 | 854f0905f548a3d1639a9a53f0035cd7b87be04c | i#3044 AArch64 SVE codec: Add ADR instructions | This patch adds the appropriate macros, tests and codec entries to encode the following variants:
```
ADR <Zd>.D, [<Zn>.D, <Zm>.D, SXTW <amount>]
ADR <Zd>.D, [<Zn>.D, <Zm>.D, UXTW <amount>]
ADR <Zd>.<Ts>, [<Zn>.<Ts>, <Zm>.<Ts>, <extend> <amount>]
```
and the required changes to support the use of ve... | diff --git a/api/docs/release.dox b/api/docs/release.dox
index e817338efe..89a5346885 100644
--- a/api/docs/release.dox
+++ b/api/docs/release.dox
@@ -200,6 +200,9 @@ Further non-compatibility-affecting changes include:
- Added opnd_size_to_shift_amount() and opnd_create_base_disp_shift_aarch64()
for explicitly s... | 3 | 2 | 1 | [{"id": "G0", "claim": "Reordering the DR_REG_Z* constants is a binary compatibility break, so it should be documented in release.dox and the version should be bumped again from 9.90 to 9.91.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The comm... | null |
DynamoRIO__dynamorio__5868 | DynamoRIO/dynamorio | 5,868 | defect | c9eaff30f03ad1eaf0fcabd202f6a61e8ed6a1c9 | 490b50210d44a7d38a6eb54b30930c79c2e0b408 | i#3044 AArch64 SVE codec: Add multi gpr memory load/stores | This patch adds the appropriate macros, tests and codec entries to encode the following variants:
```
LD2B { <Zt1>.B, <Zt2>.B }, <Pg>/Z, [<Xn|SP>, <Xm>]
LD3B { <Zt1>.B, <Zt2>.B, <Zt3>.B }, <Pg>/Z, [<Xn|SP>, <Xm>]
LD4B { <Zt1>.B, <Zt2>.B, <Zt3>.B, <Zt4>.B }, <Pg>/Z, [<Xn|SP>, <Xm>]
ST2B { <Zt1>.B, <Zt2>... | diff --git a/api/docs/release.dox b/api/docs/release.dox
index e817338efe..81490c5527 100644
--- a/api/docs/release.dox
+++ b/api/docs/release.dox
@@ -200,6 +200,9 @@ Further non-compatibility-affecting changes include:
- Added opnd_size_to_shift_amount() and opnd_create_base_disp_shift_aarch64()
for explicitly s... | 2 | 2 | 1 | [{"id": "G0", "claim": "The doc comment added for opnd_create_increment_reg has typos: \"exiting\" should be \"existing\" and \"opndby\" should be \"opnd by\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The body-initialising code of opnd_creat... | null |
DynamoRIO__dynamorio__5896 | DynamoRIO/dynamorio | 5,896 | defect | 3e74d80dcc2740398758dedc1d81a43eb11d3380 | 3505775ae5f08b550cec7a16acd775eda8ba8772 | i#5784: Mitigate drwrap retaddr transparency violation | Adds a new drwrap API, drwrap_get_retaddr_if_sentinel(), that allows
mitigation of a transparency violation under the DRWRAP_REPLACE_RETADDR drwrap
strategy where the return address on the stack is replaced with the address of
the internal replace_retaddr_sentinel() routine. This API modifies the passed-in
value to... | diff --git a/clients/drcachesim/tracer/tracer.cpp b/clients/drcachesim/tracer/tracer.cpp
index 546cdd89ec..25a72fb015 100644
--- a/clients/drcachesim/tracer/tracer.cpp
+++ b/clients/drcachesim/tracer/tracer.cpp
@@ -1,5 +1,5 @@
/* ******************************************************************************
- * Copyri... | 4 | 3 | 1 | [{"id": "G0", "claim": "The new drwrap.h docs should not reference the non-public replace_retaddr_sentinel symbol and should instead say \"the return address sentinel used to implement #DRWRAP_REPLACE_RETADDR\", both here and below.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "intr... | null |
DynamoRIO__dynamorio__5978 | DynamoRIO/dynamorio | 5,978 | defect | 7682c4ab6b436d429e05b9948422bfca201305bf | 213568e2c1e1b872aea606d48ae325175bcba5eb | i#5980: Fix 3 rseq exit/signal issues | Fixes 3 more problems with rseq in DR and in drmemtraces related to exits and signals:
1) Side exit in instrumented run: avoids unbounded buffer growth by detecting by looking at the region bounds. Adds a buffer large size sanity check. Adds a test to linux.rseq.
2) Try to handle double-abort: couldn't repro in... | diff --git a/clients/drcachesim/tools/invariant_checker.cpp b/clients/drcachesim/tools/invariant_checker.cpp
index c282ca16a1..2bbbbaac62 100644
--- a/clients/drcachesim/tools/invariant_checker.cpp
+++ b/clients/drcachesim/tools/invariant_checker.cpp
@@ -207,7 +207,33 @@ invariant_checker_t::parallel_shard_memref(void ... | 7 | 3 | 0 | [{"id": "G0", "claim": "The comment wording \"PC is the abort handler\" should read \"PC in the abort handler\" (s/is/in/).", "category": "documentation", "verdict": "opposed", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "Seeing a loop (an rseq entry marker while output is already buffered) does n... | null |
DynamoRIO__dynamorio__6087 | DynamoRIO/dynamorio | 6,087 | defect | d64780f967988509a9517f573a98299e9ab283df | 9438a0433404d1fe3d9069f58054ab7208f228b9 | i#5979 decode: Rename ud2a/ud2b to ud2/ud1 and decode ud1 operands | The opcodes DR calls ud2a and ud2b are more commonly known (and documented by Intel) as ud2 and ud1, respectively. Rename them, preserving the old operand constants and instruction creation macros through preprocessor defines. Additionally,
ud1 actually takes two operands. Fix the decode table for them.
Fixes #597... | diff --git a/core/ir/x86/decode_fast.c b/core/ir/x86/decode_fast.c
index 8e07751b0f..7662bb15df 100644
--- a/core/ir/x86/decode_fast.c
+++ b/core/ir/x86/decode_fast.c
@@ -335,7 +335,7 @@ static const byte escape_variable_length[256] = {
r4, r4, r4, r4, r4, r4, r4, r4, r4, r4, r4, r4, r4, r4, r4, r4, /* 8 */
m... | 2 | 2 | 1 | [{"id": "G0", "claim": "It is confusing that the new test is named test_ud1_operands while everything else (including the disasm strings inside it) says ud2b; add a comment to the decode_table entry mentioning it is also called \"ud1\", and maybe rename the function to use DR's name.", "category": "maintainability", "v... | null |
DynamoRIO__dynamorio__6192 | DynamoRIO/dynamorio | 6,192 | defect | 4e719958ef8b6f1234ad999193002bbdbbab8d77 | b421614bb275f9116fcf70f09084d613474dca82 | Fix EVEX vmovq encoding | The vmovq entries that sit in the prefix_extension table have incorrect encoding information. Specifically, the final byte 0x10, in EVEX mode, sets EVEX.b. 0x40 sets EVEX.W, which is what's needed here. This was likely simply copied over from the VEX entries without adjustment.
The vmovq entries in evex_Wb_extension... | diff --git a/core/ir/x86/decode_table.c b/core/ir/x86/decode_table.c
index bf6e4014a6..d659e21127 100644
--- a/core/ir/x86/decode_table.c
+++ b/core/ir/x86/decode_table.c
@@ -3899,7 +3899,7 @@ const instr_info_t prefix_extensions[][12] = {
{VEX_W_EXT, 0x660f7e10, "(vex_W ext 109)", xx, xx, xx, xx, xx, mrm|vex, x, ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new expected-byte arrays should use type `byte` (unsigned) instead of `char` for consistency with the rest of the file.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
DynamoRIO__dynamorio__6230 | DynamoRIO/dynamorio | 6,230 | defect | 2220a838474d80f7fcf8a6b7c65854cdf0a47348 | c8e73c50314114c73cb6a65afa70e300a14a5ce1 | i#3044 AArch64 SVE codec: change LDR/STR and PRF to use byte offsets | For the current decode/encode functions of:
```
LDR <Zt>, [<Xn|SP>{, #<imm>, MUL VL}]
LDR <Pt>, [<Xn|SP>{, #<imm>, MUL VL}]
STR <Zt>, [<Xn|SP>{, #<imm>, MUL VL}]
STR <Pt>, [<Xn|SP>{, #<imm>, MUL VL}]
PRFB <prfop>, <Pg>, [<Xn|SP>{, #<imm>, MUL VL}]
PRFH <prfop>, <Pg>, [<Xn|SP>{, #<imm>, MUL VL}]
PRFW <prfop>, <P... | diff --git a/clients/drdisas/test_simple.template b/clients/drdisas/test_simple.template
index 1221dd77a2..65b3112414 100644
--- a/clients/drdisas/test_simple.template
+++ b/clients/drdisas/test_simple.template
@@ -2,8 +2,8 @@
00000000 udf $0x0000
f94017a0 ldr +0x28(%x29)[8byte] -> %x0
a9be7bfd stp ... | 2 | 2 | 2 | [{"id": "G0", "claim": "In encode_opnd_svemem_gpr_simm6_vl() and encode_opnd_svemem_gpr_simm9_vl(), the code should return false and fail the encoding like the other un-encodable cases instead of ASSERTing when the displacement is not an even multiple of the vector/predicate length.", "category": "correctness", "verdic... | null |
DynamoRIO__dynamorio__6254 | DynamoRIO/dynamorio | 6,254 | defect | 38eb1c9bc34b9b9b9495c8cba4782578bddbe4c2 | 6dae21119231535c672b686f79a2121c4e48e599 | i#3544 RV64: Assert AUIPC instruction imm alignment | Adds an assert to `encode_u_immpc_opnd` to ensure that the lower 12 bits of imm are all 0s.
Also, in order to share `.expect` files between static link and dynamic link tests, we added the ability to ignore specific lines in runcmp.cmake and removed the dependence on the external `diff` command. Note that we fall ba... | diff --git a/core/ir/aarch64/encode.c b/core/ir/aarch64/encode.c
index 8eb3d14acb..9555b8362f 100644
--- a/core/ir/aarch64/encode.c
+++ b/core/ir/aarch64/encode.c
@@ -219,7 +219,8 @@ encoding_possible(decode_info_t *di, instr_t *in, const instr_info_t *ii)
void
decode_info_init_for_instr(decode_info_t *di, instr_t *i... | 5 | 3 | 1 | [{"id": "G0", "claim": "decode_info_init_for_instr memsets the whole decode_info_t although only check_reachable needs initializing, adding overhead on frequently called encode paths; initialize just that field instead of the memset.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "intro... | null |
DynamoRIO__dynamorio__6300 | DynamoRIO/dynamorio | 6,300 | defect | 5971c07604e75e1af9df92d31f4a9143894825a7 | 3d2b38528c3558dfe013c04cc2f60d4e63f112f0 | i#3544 RV64 XINST_CREATE: Implement platform-independent macros | Implement platform-independent `XINST_CREATE_xxx` macros, also remove APIs that do not make sense for RISC-V. | diff --git a/clients/drcachesim/CMakeLists.txt b/clients/drcachesim/CMakeLists.txt
index 572a6f4210..3ea78a110f 100644
--- a/clients/drcachesim/CMakeLists.txt
+++ b/clients/drcachesim/CMakeLists.txt
@@ -721,17 +721,20 @@ if (BUILD_TESTS)
${PROJECT_SOURCE_DIR}/clients/drcachesim/tests)
set_tests_propertie... | 4 | 3 | 0 | [{"id": "G0", "claim": "The IR should list implicit operands for RVC instructions such as C.JR and C.JALR, which currently are not listed in instr_t.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "Add a FIXME at the XINST_CREATE_load_simd/store_si... | null |
DynamoRIO__dynamorio__6331 | DynamoRIO/dynamorio | 6,331 | defect | 5fbde590c59215ccd6784345b5aa81406754cd41 | 1e4b5b2d32a7f5066cd71561e5a7d39da2ead5f5 | i#6238: validate instructions: push,pop,cmp,pusha,popa,push_imm,ret,ret_far,loopne,loope,loop,movzx,cmp,rcr | Add instructions to categories:
OP_push,OP_pop,OP_cmp,OP_pusha,OP_popa,OP_push_imm,OP_ret,OP_ret_far,OP_loopne,OP_loope,OP_loop,OP_movzx,OP_cmp,OP_rcr
Fix: Moved category decoding after operands decoding to check STORE/LOAD memory access
Issue: https://github.com/DynamoRIO/dynamorio/issues/6238 | diff --git a/core/ir/x86/decode.c b/core/ir/x86/decode.c
index af0796bb57..4bd9d94c62 100644
--- a/core/ir/x86/decode.c
+++ b/core/ir/x86/decode.c
@@ -2591,7 +2591,6 @@ decode_common(dcontext_t *dcontext, byte *pc, byte *orig_pc, instr_t *instr)
decode operands too */
... | 3 | 1 | 0 | [{"id": "G0", "claim": "The category logic is inconsistent in that MOV keeps both MOVE and LOAD while POP is plain LOAD, and the reviewer asks whether the logic adding LOAD should also remove MOVE (or MOVE be added to PUSH/POP) to follow the AArch64 convention.", "category": "design", "verdict": "supported", "priority"... | null |
DynamoRIO__dynamorio__6358 | DynamoRIO/dynamorio | 6,358 | defect | 54f393bf5bc8c7d8335cf477012949df098db89b | 373e862625c37c52bb07389d47cf41e1694856a9 | i#3544 RV64: Fix invalid instr width handling when decoding | Currently, valid RISC-V instruction length can be 16-bit (compressed instruction) or 32-bit, but according to the "Extended Instruction-Length Encoding" section of the RISC-V Unprivileged Specification 20191213 on page 8, instruction length can be greater than 32-bit in the future.
Our RISC-V instruction_width() fun... | diff --git a/core/ir/riscv64/codec.c b/core/ir/riscv64/codec.c
index cb5d636c34..484a4e4685 100644
--- a/core/ir/riscv64/codec.c
+++ b/core/ir/riscv64/codec.c
@@ -1496,7 +1496,6 @@ decode_common(dcontext_t *dcontext, byte *pc, byte *orig_pc, instr_t *instr)
default:
LOG(THREAD, LOG_INTERP, 3, "decode: unh... | 2 | 1 | 1 | [{"id": "G0", "claim": "The reviewer asks whether any real case currently hits the removed \"decode: invalid instr width\" assert, i.e. for justification that removing it is warranted.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A test case shoul... | null |
DynamoRIO__dynamorio__6371 | DynamoRIO/dynamorio | 6,371 | defect | 0c6476feafc16defa1e2b6bf23a007ec4be15f6b | 4b822fb73104868c250cbb4c39e01d43675e7095 | i#5365: Build core unit tests with SVE enabled | Build most core tests with SVE flags and high optimisation (-O3), if building on a AARCH64 SVE machine.
Tests which fail when built with -O3 are not included.
Add some error checking to a few tests to allow the -O3 build and update template (expected output) files as necessary.
Issue #6429 raised to cover maki... | diff --git a/CMakeLists.txt b/CMakeLists.txt
index c1bb8ea09b..4d0309ed75 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1612,6 +1612,10 @@ if (BUILD_TESTS)
include(CTest)
endif (BUILD_TESTS)
+if (AARCH64)
+ option(BUILD_TESTS_SVE "Build tests with SVE enabled and high optimization (-O3)" OFF)
+endif (AARC... | 7 | 4 | 2 | [{"id": "G0", "claim": "The PR description does not say what the long-term plan for the BUILD_TESTS_SVE option is (outer suite auto-enabling it, on-by-default later, or permanently manual off-by-default), and something should be added there.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scop... | null |
DynamoRIO__dynamorio__6405 | DynamoRIO/dynamorio | 6,405 | defect | 11c57d10499d72ef91bb93626ad7d72b25a88f33 | f9a417e189a610a145e7e329c64a90f7026468b1 | i#6397: Add instr_is_opnd_store_source() | Adds a new IR API routine instr_is_opnd_store_source() which identifies whether a given source operand supplies the value to be stored into memory for a store instruction. Although generally DR avoids modeling dataflow, especially for complex SIMD shifts, this data identification is useful enough that we provide a hel... | diff --git a/api/docs/release.dox b/api/docs/release.dox
index 6d1e8444c0..70894a8682 100644
--- a/api/docs/release.dox
+++ b/api/docs/release.dox
@@ -174,6 +174,7 @@ Further non-compatibility-affecting changes include:
- Added -record_syscall to drmemtrace for recording syscall parameters.
- Added opportunity to r... | 2 | 2 | 0 | [{"id": "G0", "claim": "The comment should replace \"and rely\" with a conjunction such as \"and thus rely\" or \"and instead rely\" to make clear that the relying is a consequence of not modeling data movement in the IR.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {... | null |
DynamoRIO__dynamorio__6477 | DynamoRIO/dynamorio | 6,477 | defect | b42815fff5240d9af5971c6b64c8d08fbc5befa7 | 916127100f13eea16bf208bb4c613f20c954696b | i#3544 RV64: Add support for XTheadCmo and XTheadSync extensions | Some of these instructions are suddenly used in newer OS release of my SBC LicheePi 4A, so added them to make it happy.
Issue: #3544 | diff --git a/core/ir/riscv64/codec.h b/core/ir/riscv64/codec.h
index 72faf25f4c..332e40c5a0 100644
--- a/core/ir/riscv64/codec.h
+++ b/core/ir/riscv64/codec.h
@@ -81,6 +81,8 @@ typedef enum {
RISCV64_ISA_EXT_ZICBOZ,
RISCV64_ISA_EXT_ZICSR,
RISCV64_ISA_EXT_ZIFENCEI,
+ RISCV64_ISA_EXT_XTHEADCMO,
+ RIS... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a TODO comment noting that the isl files list only usermode-valid instructions for now and that privileged coverage is desired later (for standalone drdecode decoding arbitrary bits, kernel tracing, etc.).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "int... | null |
DynamoRIO__dynamorio__6513 | DynamoRIO/dynamorio | 6,513 | defect | 86a4f1bb51ff42652ef60f6413c1a40afe409992 | 11e53e8ddac0222259ae07f8627caae39bec4a88 | i#95: Detach on Linux | Enable the feature of detachment on Linux.
- I setup a temporary separate stack for the nudged thread, and resume the normal execution of this thread after detachment.
- A new variable named `nudged_sigcxt` is used to save the `sigcxt` of nudged thread.
- And the extra code `dcontext == GLOBAL_DCONTEXT` is add... | diff --git a/api/docs/deployment.dox b/api/docs/deployment.dox
index bb779ea39a..9cb8559c3c 100644
--- a/api/docs/deployment.dox
+++ b/api/docs/deployment.dox
@@ -337,6 +337,12 @@ with this command:
% echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
\endcode
+Then, you can also detach DynamoRIO from the target ... | 14 | 11 | 1 | [{"id": "G0", "claim": "The two cases handling detach_pid (the new Linux nudge one and the existing Windows one) should be placed under the same if() chain instead of in separate places in the code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
DynamoRIO__dynamorio__6534 | DynamoRIO/dynamorio | 6,534 | defect | eaac7d5621167536fc0ebfce764fd07c1bc1939f | 91529e1518c5816efea1a49a44479b625539b69e | i#5926 libdw: Switch drsyms to use libdw from elfutils | Switches from elftoolchain's libdwarf, which is no longer being
updated, to elfutil's libdw, only for Linux for now. The interfaces
are slightly different but generally similar. We also switch to the
libelf from elfutil to ensure its interactions with libdw work
properly.
Adds a new third_party/elfutils submod... | diff --git a/.github/workflows/ci-aarchxx.yml b/.github/workflows/ci-aarchxx.yml
index 49bd04c479..f4c0e2abca 100644
--- a/.github/workflows/ci-aarchxx.yml
+++ b/.github/workflows/ci-aarchxx.yml
@@ -1,5 +1,5 @@
# **********************************************************
-# Copyright (c) 2020-2023 Google, Inc. All ri... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new file's copyright header should read 2024 instead of 2023.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The elfutils submodule URL in .gitmodules should use an https version of the git repo, which is easier for use... | null |
DynamoRIO__dynamorio__6540 | DynamoRIO/dynamorio | 6,540 | defect | eaac7d5621167536fc0ebfce764fd07c1bc1939f | 3fdc5926cd58db4dfd28e45b759bd18391811436 | i#3544 RV64: Enable reuse_distance test | tool.reuse_distance test is enabled by performing the following changes:
1. Set -max_bb_instrs to 15 by default on RISC-V
2. Use `c.ldsp/c.sdsp/c.fldsp/c.fsdsp` to reduce the size of context switches for clean calls
3. Swap sc.w/d rd and mem operand positions so that mem becomes the first operand to be consistent ... | diff --git a/clients/drcachesim/CMakeLists.txt b/clients/drcachesim/CMakeLists.txt
index 540e789200..920686890b 100644
--- a/clients/drcachesim/CMakeLists.txt
+++ b/clients/drcachesim/CMakeLists.txt
@@ -512,6 +512,9 @@ macro(add_drmemtrace name type)
if (liblz4)
target_link_libraries(${name} lz4)
endif ()
+ ... | 4 | 2 | 0 | [{"id": "G0", "claim": "ksco is unsure whether unconditionally linking libatomic into every drmemtrace client library is a proper way to fix the missing __atomic_is_lock_free symbol, and asks for confirmation of the approach.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"},... | null |
DynamoRIO__dynamorio__6591 | DynamoRIO/dynamorio | 6,591 | defect | 872bc253e39962add46df9a1c7f4b59e511ce139 | e08b85d92dc976b43e02136dce16d28204225356 | i#6584: Fix buffer overflow in dr_set_sve_vector_length | Fixes a buffer overflow in dr_set_sve_vector_length().
Changes dr_set_sve_vector_length() to return a boolean.
Updates the dr_set_sve_vector_length() test to check failure cases.
Tested in an internal build with a memory tool where the overflow was detected:
confirmed no error is reported anymore (with the ra... | diff --git a/core/ir/decode_shared.c b/core/ir/decode_shared.c
index 10b3c78446..93451380c6 100644
--- a/core/ir/decode_shared.c
+++ b/core/ir/decode_shared.c
@@ -1,5 +1,5 @@
/* **********************************************************
- * Copyright (c) 2011-2021 Google, Inc. All rights reserved.
+ * Copyright (c) 2... | 2 | 2 | 0 | [{"id": "G0", "claim": "The stale `TODO i#3044` comment above the loop in dr_set_sve_vector_length should be deleted.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The function should visibly detect invalid vector lengths (e.g. an ASSERT or ASS... | null |
DynamoRIO__dynamorio__6594 | DynamoRIO/dynamorio | 6,594 | defect | 1ae669d24baf207243fa7bfa7fae2ad32db0806b | 60a6ad9acac7dafb5d590150cc33f9c9ffdbf4ad | i#6514 null SP to clone(), part 2: Have linux clone test use dynamori… | …o_clone
Now that dynamorio_clone() is in drlibc we can use it in the linux clone.c test.
Issue #6514 | diff --git a/core/arch/arch_exports.h b/core/arch/arch_exports.h
index 8eab49dc6e..56605fef73 100644
--- a/core/arch/arch_exports.h
+++ b/core/arch/arch_exports.h
@@ -708,9 +708,6 @@ dynamorio_condvar_wake_and_jmp(KSYNCH_TYPE *ksynch /*in xax/r0*/,
void
dynamorio_nonrt_sigreturn(void);
# endif
-thread_id_t
-d... | 1 | 1 | 0 | [{"id": "G0", "claim": "Update the comments for dynamorio_clone and create_thread to make clear that dynamorio_clone sits between the raw clone syscall and the glibc wrapper: it takes a function but the caller must have it end with exit (it must not return).", "category": "documentation", "verdict": "supported", "prior... | null |
DynamoRIO__dynamorio__6601 | DynamoRIO/dynamorio | 6,601 | defect | 4f8e12f28b5f53272f96bebc94ab15baac69b836 | c628f0f372ae54c88b75bb747171ed896365dc80 | i#6514 null SP to clone(), part 3: Handle null SP passed to clone | The kernel supports passing NULL for SP to clone: It means to use the SP of the parent. Supporting this requires augmenting dynamorio_clone to handle SP==NULL, and augmenting create_clone_record to handle SP==NULL.
Only tested X86 in this pass. Other arches deferred.
With 32-bit testing temporarily downsized, thi... | diff --git a/core/drlibc/drlibc.h b/core/drlibc/drlibc.h
index d65570dfe3..09ec0c61a5 100644
--- a/core/drlibc/drlibc.h
+++ b/core/drlibc/drlibc.h
@@ -72,7 +72,11 @@ dynamorio_mach_syscall(uint sysnum, uint num_args, ...);
# else
ptr_int_t
dynamorio_syscall(uint sysnum, uint num_args, ...);
-/* N.B. func must not... | 14 | 14 | 4 | [{"id": "G0", "claim": "For newsp==NULL the 64-bit clone path leaves the stack mis-aligned (the sub of FRAME_ALIGNMENT maintains the entry mis-alignment instead of correcting it), violating the ABI at the call; align the stack instead of mis-aligning it.", "category": "correctness", "verdict": "supported", "priority": ... | null |
DynamoRIO__dynamorio__6663 | DynamoRIO/dynamorio | 6,663 | defect | 092b4f2678ee5e9b7578aaf93a099a57e2e7d968 | 8825a91349da6f3126e6108f5537e107b8641fa2 | i#6662 public traces, part 2: encoding_filter | New record_filter_t::record_filter_func_t filter, which we call "encodings2regdeps", that modifies the encoding of
trace_entry_t records from a real ISA to the synthetic regdeps ISA.
"encodings2regdeps" can add or remove trace_entry_t records that contain encodings depending on the regdeps
encoding size. Note tha... | diff --git a/clients/drcachesim/CMakeLists.txt b/clients/drcachesim/CMakeLists.txt
index 75b366ed49..e09f8be090 100644
--- a/clients/drcachesim/CMakeLists.txt
+++ b/clients/drcachesim/CMakeLists.txt
@@ -196,6 +196,7 @@ add_exported_library(drmemtrace_record_filter STATIC
tools/filter/cache_filter.h
tools/filter/c... | 24 | 22 | 7 | [{"id": "G0", "claim": "The value record_filter passes to its filters (last_encoding) should be carried in a struct of shared info so the interface can change later without breaking, rather than being a bare vector parameter.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id... | null |
DynamoRIO__dynamorio__6774 | DynamoRIO/dynamorio | 6,774 | defect | c69c151e9106e1c12d27c3be8563d2faa25b3e7e | a91b96d05536df0015d545a34281eb5dbf9495f5 | i#6760 AArch64: Use smaller data types for SVE P and FFR registers | PR #6757 fixed the way we read/write SVE register slots but unfortunately it is now broken on systems with 128-bit vector length.
Both SVE vector and predicate registers use dr_simd_t slots which is a 64-byte type meant to store up to 512-bit vector registers. SVE predicate registers are always 1/8 the size of the v... | diff --git a/.github/workflows/ci-docs.yml b/.github/workflows/ci-docs.yml
index 87d04fcd54..2ba40d9a76 100644
--- a/.github/workflows/ci-docs.yml
+++ b/.github/workflows/ci-docs.yml
@@ -90,7 +90,7 @@ jobs:
# We only use a non-zero build # when making multiple manual builds in one day.
run: |
if ... | 9 | 8 | 0 | [{"id": "G0", "claim": "Update the issue #6760 description (and maybe title) so it is clear the issue describes a real bug rather than an optional space-saving feature.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Add a comment making clear th... | null |
DynamoRIO__dynamorio__6799 | DynamoRIO/dynamorio | 6,799 | defect | 30d52e9cf473687922bfca97849385c979e964c6 | 9fc4c9ca9c036af78aa2852b735315438179fbf4 | i#6662 public traces, part 3: regdeps disasm | Adds disassembling for DR_ISA_REGDEPS instructions.
Specifically, when we disassemble DR_ISA_REGDEPS instructions, we print the
instruction encoding (divided in 4 byte words, can span one or two lines, similar to x86),
we substitute the opcode with categories, we print the operations size (e.g., `[4byte]`),
and th... | diff --git a/clients/drcachesim/tests/record_filter_unit_tests.cpp b/clients/drcachesim/tests/record_filter_unit_tests.cpp
index c20a10a303..233e18a810 100644
--- a/clients/drcachesim/tests/record_filter_unit_tests.cpp
+++ b/clients/drcachesim/tests/record_filter_unit_tests.cpp
@@ -294,7 +294,6 @@ test_encodings2regdep... | 13 | 13 | 4 | [{"id": "G0", "claim": "The regdeps printing helpers added to core/ir/disassemble_shared.c should be moved to a new file, core/ir/isa_regdeps/disassemble.c.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new per-register REG_kind check calls get_thre... | null |
DynamoRIO__dynamorio__6816 | DynamoRIO/dynamorio | 6,816 | defect | 47ae98b1a5a189f4d2039ed78cd41ed8f64c1460 | 05d403135d6940e52052c2ff703e14b75e52d275 | i#6662 public traces, part 4: view tool | Modifies the view tool to handle OFFLINE_FILE_TYPE_ARCH_REGDEPS traces,
leveraging the disassembly of DR_ISA_REGDEPS instructions.
When visualizing DR_ISA_REGDEPS instructions, the view tool still prints the
instruction length and PC, which for OFFLINE_FILE_TYPE_ARCH_REGDEPS
traces are the same as those in the orig... | diff --git a/clients/drcachesim/tests/view_test.cpp b/clients/drcachesim/tests/view_test.cpp
index 5aa2ba3363..7c4ec03bd2 100644
--- a/clients/drcachesim/tests/view_test.cpp
+++ b/clients/drcachesim/tests/view_test.cpp
@@ -586,11 +586,74 @@ run_chunk_tests(void *drcontext)
return run_single_thread_chunk_test(drcon... | 2 | 2 | 0 | [{"id": "G0", "claim": "The PR description reads as if this pull request itself implements printing the REGDEPS instruction encoding, substituting the opcode with the categories, printing the operation size, and printing the virtual register names; reword it to make clear those come from DR's disassembler and are not a... | null |
DynamoRIO__dynamorio__6856 | DynamoRIO/dynamorio | 6,856 | defect | e85fcadfaf538093afa01a01fb069f231bc4c786 | 5d7807aa621fba74655d584c41cd90d8576ebbc7 | i#5623 AArch64: Improve PAUTH transparency | Previously direct/indirect branches with pointer authentication would be mangled to strip the pointer authentication code from the address using an xpaci instruction.
This means that code that might fail when running natively (because the pointer authentication doesn't pass) could succeed under DynamoRIO because the... | diff --git a/CMakeLists.txt b/CMakeLists.txt
index 50be3c81ed..5d5a765033 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -630,13 +630,16 @@ endif ()
set(proc_supports_sve OFF)
set(proc_supports_sve2 OFF)
+set(proc_supports_pauth OFF)
if (AARCH64 AND UNIX)
set(CFLAGS_SVE "-march=armv8-a+sve")
set(CFLAGS_... | 13 | 13 | 2 | [{"id": "G0", "claim": "Fix the \"featyre\" typo in the make/utils.cmake comment.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new pauth test app should not use printf, since the project avoids printf in test apps to prevent output ordering ... | null |
DynamoRIO__dynamorio__6887 | DynamoRIO/dynamorio | 6,887 | defect | 7f2ceefaed01b99c40ceefb9874e2140f91bd60b | 8cfeafa067746ef83c62be915f0308746f7b89d6 | i#2417 AArch64: Fix ldstex mangling | The code to mangle excusive load and store instructions emits code that has UNPREDICTABLE behaviour on some AArch64 implementations.
For a sequence like this (from the client.ldstex test):
ldaxp (%x0)[8byte] -> %w1 %w2
add %w1 $0x0001 lsl $0x00 -> %w4
add %w2 $0x0001 lsl $0x00 -> %w5
stlxp %w4 %w5 ... | diff --git a/core/arch/aarchxx/mangle.c b/core/arch/aarchxx/mangle.c
index 2c1ab93da2..a0ecc82d96 100644
--- a/core/arch/aarchxx/mangle.c
+++ b/core/arch/aarchxx/mangle.c
@@ -3149,9 +3149,7 @@ static instr_t *
create_ldax_from_stex(dcontext_t *dcontext, instr_t *strex,
reg_id_t *dest_reg DR_PARA... | 4 | 3 | 1 | [{"id": "G0", "claim": "The word UNPREDICTABLE is misspelled as 'UNPREDICTALE' in the pull request's description text and the spelling should be corrected.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should keep handling ldstex... | null |
DynamoRIO__dynamorio__6908 | DynamoRIO/dynamorio | 6,908 | defect | b3348cc2bee268e414026362be0d903aad08ea7e | 915866cbff2601b6f18c4677ccd57848d17b15ca | i#4474: Port security-common.selfmod test to AArch64 | Port security-common.selfmod test to AArch64.
These tests will catch issues like https://github.com/DynamoRIO/dynamorio/issues/5771.
Issue: #4474 | diff --git a/suite/tests/CMakeLists.txt b/suite/tests/CMakeLists.txt
index 05bfdcc42d..dd6828507c 100644
--- a/suite/tests/CMakeLists.txt
+++ b/suite/tests/CMakeLists.txt
@@ -5938,6 +5938,9 @@ endif (NOT ARM)
if (X86 OR AARCH64) # FIXME i#1551: port asm to ARM
tobuild(security-common.selfmod2 security-common/selfmo... | 6 | 6 | 0 | [{"id": "G0", "claim": "Add an explicit comment that the memcpy copies the instructions defined in the __asm block below, so future readers do not have to work that out.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a comment referring to #57... | null |
DynamoRIO__dynamorio__6936 | DynamoRIO/dynamorio | 6,936 | defect | db323a468c323f56fe260fcdf5415878738ef186 | 43f8bf522dd0493736cae49a77eaba6d6e24a589 | i#5505 kernel tracing: Add flag to configure PT buffer size | Adds a new drmemtrace command-line flag that allows setting an appropriate size for the buffer used to collect PT kernel trace data during online trace collection: -kernel_trace_buffer_size_shift.
For apps with a high thread count, a large value may cause OOMs. At the same time, a too low value causes issues during ... | diff --git a/clients/drcachesim/common/options.cpp b/clients/drcachesim/common/options.cpp
index 35f85e8537..6610d27e47 100644
--- a/clients/drcachesim/common/options.cpp
+++ b/clients/drcachesim/common/options.cpp
@@ -860,6 +860,12 @@ droption_t<bool> op_skip_kcore_dump(
"as normal. This may be useful if it is no... | 4 | 4 | 0 | [{"id": "G0", "claim": "The option's description should state that the option only affects -enable_kernel_tracing.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The option name and description should drop the 'PT'/'ring buffer' jargon users may n... | null |
DynamoRIO__dynamorio__7092 | DynamoRIO/dynamorio | 7,092 | defect | 5e6429b71801d2ed043074eaac0862f962ee9b93 | 068b3f4d629612dc65b5d3eb75e87fbe69db57be | i#7046: Validate the contents of the Linux memory dump file. | Set postcmd to use "readelf -a" to dump the contents of Linux memory dump file.
Replace suite/tests/client-interface/memory_dump_test.expect with suite/tests/client-interface/memory_dump_test.templatex which validates the contents of the output of "readelf -a".
Issue: #7046 | diff --git a/suite/tests/CMakeLists.txt b/suite/tests/CMakeLists.txt
index a35ba5aa18..58a86dd2f7 100644
--- a/suite/tests/CMakeLists.txt
+++ b/suite/tests/CMakeLists.txt
@@ -2647,6 +2647,12 @@ if (NOT ANDROID) # TODO i#38: Port test to Android.
client-interface/attach_blocking.runall "" "" "")
endif ()
if... | 2 | 2 | 1 | [{"id": "G0", "claim": "The readelf binary needs to be located because it may be absent or not on PATH; the test's postcmd should use the located READELF_EXECUTABLE (xref find_program(READELF_EXECUTABLE) in core/).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1... | null |
DynamoRIO__dynamorio__7109 | DynamoRIO/dynamorio | 7,109 | defect | 500483edcd148f1fe8651d22a9b4cb32e532e7e4 | 9042b4f47abe5c945c5561ed68b9436ab5a561b5 | Add decode/encode support for additional Intel cache management instructions. | This covers the CLWB/CLDEMOTE extensions and the previously omitted CLFLUSHOPT instruction.
Because these instructions explicitly forbid modrm.mod == 3 a sequence from the binutils tests that previously decoded as a nop but now would decode as a CLDEMOTE with modrm.mod == 3 is removed. | diff --git a/core/ir/x86/decode_table.c b/core/ir/x86/decode_table.c
index 67f4670c82..41bbfe4e5e 100644
--- a/core/ir/x86/decode_table.c
+++ b/core/ir/x86/decode_table.c
@@ -380,7 +380,7 @@ const instr_info_t * const op_instr[] =
/* OP_stmxcsr */ &e_vex_extensions[62][0],
/* OP_lfence */ &mod_... | 2 | 1 | 0 | [{"id": "G0", "claim": "drmemtrace needs to be updated to treat CLFLUSHOPT like CLFLUSH in memtraces, by adding it to the two flush-handling spots in clients/drcachesim/tracer/instru.cpp (deferred to issue #7111; no change requested in this PR).", "category": "correctness", "verdict": "opposed", "priority": "P1", "scop... | null |
DynamoRIO__dynamorio__7203 | DynamoRIO/dynamorio | 7,203 | defect | 2fba06ed31dbd2941dcac93d18f239b5813e958b | 326d2ccdd5e60c963b7e1957816c6872c513c048 | i#7046: Add a test to capture memory dump mid-run. | Add a test to capture a memory dump from common.fib mid-run.
The existing memory_dump_test captures a memory dump before the first instruction of simple_app. It uses runmulti.cmake which supports postcmd. The postcmd is used to run readelf to print the content of the ELF file for verification.
The new attach_mem... | diff --git a/suite/tests/CMakeLists.txt b/suite/tests/CMakeLists.txt
index 714438c511..dc398a2d78 100644
--- a/suite/tests/CMakeLists.txt
+++ b/suite/tests/CMakeLists.txt
@@ -1419,8 +1419,13 @@ function(torun test key source native standalone_dr dr_ops exe_ops added_out pas
# To run the test we use a series of com... | 5 | 5 | 2 | [{"id": "G0", "claim": "In the torun comment the new application is not really a test, so the wording should be changed with s/a test/an app/ and s/test/app/ in the following sentences.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The attach-mod... | null |
DynamoRIO__dynamorio__7218 | DynamoRIO/dynamorio | 7,218 | defect | 3c6c167c56efeb2e8d3949db512c36baf1dd3257 | f11e9097fab0c76dae7f9fc194524f0ac3b3b171 | i#7229: Fix --fsanitize=pointer-overflow reports | Adding to NULL is undefined behavior.
This fixes reports we detected on our internal tests
of tools depending on DynamoRIO.
Examples of reports are in #7229.
Many others are likely still undiscovered.
Issue: #7229
| diff --git a/clients/drcachesim/tracer/raw2trace_shared.cpp b/clients/drcachesim/tracer/raw2trace_shared.cpp
index ca2b17e82b..d442f014c5 100644
--- a/clients/drcachesim/tracer/raw2trace_shared.cpp
+++ b/clients/drcachesim/tracer/raw2trace_shared.cpp
@@ -287,8 +287,9 @@ module_mapper_t::read_and_map_modules()
... | 9 | 8 | 2 | [{"id": "G0", "claim": "Use a C++-style cast instead of the C-style cast in raw2trace_shared.cpp line 291.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Use static_cast instead of reinterpret_cast for the map_pc arithmetic in raw2trace_shared.h... | null |
DynamoRIO__dynamorio__7336 | DynamoRIO/dynamorio | 7,336 | defect | 813b9c384c99e022021f64bfc9bc5ae95dc8ec1b | 865f54631ec6e964d41ceeb394336a8d34be4e5f | i#7270 Ubuntu22: sample.callstack output mismatch fix | The `code_api|sample.callstack` test fails to match the expected output
on both x86_64 and aarch64 with Ubuntu 22.04.
This test is supposed to use `libcallstack` to track `malloc()` calls, but
the binaries we run the test on, which come from eflags.c and nzcv.c,
don't call `malloc()` directly.
Depending on the GLI... | diff --git a/suite/tests/common/eflags.c b/suite/tests/common/eflags.c
index 8e87286019..78c7723391 100644
--- a/suite/tests/common/eflags.c
+++ b/suite/tests/common/eflags.c
@@ -71,6 +71,12 @@ main()
uint i;
INIT();
+ /* We use this test with our libcallstack sample library to track malloc.
+ * So w... | 4 | 4 | 0 | [{"id": "G0", "claim": "A dedicated test binary that just calls malloc would be a cleaner solution than adding a malloc call to the shared eflags/nzcv test binaries, but the author could not work out how to modify suite/tests/CMakeLists.txt to do so.", "category": "design", "verdict": "supported", "priority": "P2", "sc... | null |
DynamoRIO__dynamorio__7385 | DynamoRIO/dynamorio | 7,385 | defect | d4bcc913e6c076dbcff54c4f50c597ba8d4c55c7 | 3ef21d52af65bdb1950e1c7ea881842474d9c526 | i#7384: Add support for 6 additional Valgrind annotations | Adds core DR support for recognizing and calling a client-register handler for these 6 annotations which will be useful in Dr. Memory:
+ VALGRIND_MAKE_MEM_UNDEFINED
+ VALGRIND_MAKE_MEM_DEFINED
+ VALGRIND_CHECK_MEM_IS_DEFINED
+ VALGRIND_CHECK_MEM_IS_ADDRESSABLE
+ VALGRIND_MALLOCLIKE_BLOCK
+ VALGRIND_FREELIKE_BLOCK... | diff --git a/core/annotations.c b/core/annotations.c
index c1aa244045..3913ecfe48 100644
--- a/core/annotations.c
+++ b/core/annotations.c
@@ -1,5 +1,5 @@
/* ******************************************************
- * Copyright (c) 2014-2023 Google, Inc. All rights reserved.
+ * Copyright (c) 2014-2025 Google, Inc. A... | 2 | 1 | 0 | [{"id": "G0", "claim": "If support in core DR is intended for the new Valgrind annotations, add an i# cross-reference to the doc comment.", "category": "documentation", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Differentiate the identical doc comments on DR_VG_ID__MALLOCLIKE... | null |
DynamoRIO__dynamorio__7417 | DynamoRIO/dynamorio | 7,417 | defect | 3c4c52dd837d5f608484bbebbacbb56cee425a7a | c51f674dd239c21d8a8859ac4e5b4951020a9bce | i#7303 drsyscall: Add DrSyscall tests to DynamoRIO for Linux x86. | Add DrSyscall tests to DynamoRIO for Linux x86 CI tests.
#7403 Copied the test files from DrMemory to DynamoRIO. This PR makes the following changes to add the tests to Linux x86 CI:
- run clang-format on the test files.
- rename suite/tests/client-interface/drsyscall_app.c to drsyscall-test.c.
- rename suite/... | diff --git a/api/samples/strace.c b/api/samples/strace.c
index cd1f456463..a7a984db7e 100644
--- a/api/samples/strace.c
+++ b/api/samples/strace.c
@@ -55,7 +55,7 @@ event_post_syscall(void *drcontext, int sysnum)
uint64 result;
uint error;
if (drsys_cur_syscall_result(drcontext, &success, &result, &error... | 4 | 3 | 2 | [{"id": "G0", "claim": "The statx entry added to the drsyscall table is missing the pointer-to-path argument, which needs to be listed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Losing Windows is not good and it seems worth getting the DrSyscal... | null |
DynamoRIO__dynamorio__7427 | DynamoRIO/dynamorio | 7,427 | defect | e69a1fe3d705e79a8ff89d590257d664c6d31e79 | e4627f3365d08b30ce7c6f9f0bca3c0be2644b3c | i#4692: add FEAT_LS64_x instructions | Add the ld64b, st64b, st64bv and st64bv0 instructions which are introduced by the FEAT_LS64, FEAT_LS64_V and FEAT_LS64_ACCDATA features.
Add these features to the feature identification tables and add the new system register ACCDATA_EL1.
Add tests to verify that the new instructions are encoded and decoded correc... | diff --git a/core/arch/aarch64/proc.c b/core/arch/aarch64/proc.c
index 5ff082a403..45291550f6 100644
--- a/core/arch/aarch64/proc.c
+++ b/core/arch/aarch64/proc.c
@@ -273,6 +273,9 @@ proc_init_arch(void)
LOG_FEATURE(FEATURE_DPB2);
LOG_FEATURE(FEATURE_JSCVT);
LOG_FEATURE(FEATURE_PAUTH);
+ ... | 4 | 3 | 0 | [{"id": "G0", "claim": "Add parameter-name comments (/*is_x=*/, /*plus=*/, /*pos=*/) to the decode_opnd_wxnp/encode_opnd_wxnp call sites here and below to make them easier for the reader.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Document t... | null |
DynamoRIO__dynamorio__7438 | DynamoRIO/dynamorio | 7,438 | defect | 8ff3fb53715b28bc29d4659d363393e20fa688d8 | 282549ff4e7e0581559e4d6d14341bec9d0e58a7 | i#3544 RV64: Port client.flush to riscv64 | Marking the interested basic block with one uncompressed NOP (4 bytes) and two compressed NOPs (2 x 2 bytes). This pattern should happen rarely in compiler-generated code, since two compressed NOPs could always be replaced with a compressed one.
Issue: #3544 | diff --git a/suite/tests/CMakeLists.txt b/suite/tests/CMakeLists.txt
index a65a68a1e4..26ce30502a 100644
--- a/suite/tests/CMakeLists.txt
+++ b/suite/tests/CMakeLists.txt
@@ -2824,7 +2824,7 @@ if (NOT APPLE OR NOT AARCH64 AND NOT MUSL)
tobuild_ci(client.file_io client-interface/file_io.c
"${CMAKE_CURRENT_SOURCE... | 1 | 1 | 0 | [{"id": "G0", "claim": "The RISCV64 uncompressed nop spelled as `addi zero, zero, 0` should be explained in a comment, since it may not be immediately apparent to someone not familiar with the RISC-V ISA.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
DynamoRIO__dynamorio__7481 | DynamoRIO/dynamorio | 7,481 | defect | 0c931e5c39d707cba5b6310004773df59c14b395 | 91373601a34f802a3ffa6f3c9385b152d62c7cf2 | i#7303 drsyscall: Add a CI test to capture memory dump and syscalls. | Add a CI test to capture memory dump mid-run and syscall records.
The test requires features from both runall and runmutli, so I move the marco process_cmdline to a new file, and share it
between runall.cmake and runmulti.cmake. With this change, we can pass precmd and postcmd for runall tests.
Issue: #7303 | diff --git a/suite/tests/CMakeLists.txt b/suite/tests/CMakeLists.txt
index f88bb5142d..63dda8c2de 100644
--- a/suite/tests/CMakeLists.txt
+++ b/suite/tests/CMakeLists.txt
@@ -1568,8 +1568,16 @@ function(torun test key source native standalone_dr dr_ops exe_ops added_out pas
endif ()
get_filename_component(too... | 7 | 7 | 2 | [{"id": "G0", "claim": "Defining the test twice with the same name via both tobuild_ci and torunonly_ci is wrong; there should not be both, and it is unclear whether one overrides the other.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The global `path... | null |
DynamoRIO__dynamorio__7509 | DynamoRIO/dynamorio | 7,509 | defect | 43abef5e542a01d21e9390286984c74d9f792367 | d192dd477c37f05864ba41e12d5b600fb8cb9358 | i#7508: Add an option -memdump_on_window to the drmemtrace trace analysis tools framework. | Add an option -memdump_on_window to the drmemtrace trace analysis tools framework.
The option triggers a memory dump when a trace window opens by -trace_after_instrs, -trace_instr_intervals_file, or -retrace_every_instrs. If -retrace_every_instrs is also enabled, a memory dump will be captured for each individual t... | diff --git a/api/docs/release.dox b/api/docs/release.dox
index de4127b93d..81758a4783 100644
--- a/api/docs/release.dox
+++ b/api/docs/release.dox
@@ -180,6 +180,10 @@ Further non-compatibility-affecting changes include:
generation alongside the scheduled traces.
- Added AUX_SUBDIR (== "aux") to the subdirs in... | 6 | 6 | 3 | [{"id": "G0", "claim": "The memory dumps should be written inside the subdirectory for the corresponding tracing window, e.g. by augmenting dr_memory_dump_spec_t so the caller can specify the output location instead of hunting the file down inside DR's logdirs.", "category": "design", "verdict": "supported", "priority"... | null |
DynamoRIO__dynamorio__7526 | DynamoRIO/dynamorio | 7,526 | defect | 0e53bdedda03f3bfd7c213e3d5ed58c8751f83bd | a028c3960d68358b1278d19dbb0b49dc07730214 | i#199: Add dr_invoke_syscall_as_app() | Adds a new API routine dr_invoke_syscall_as_app() which invokes a system call as though the application made it, meaning it goes through DR's handling. However, it does not trigger client syscall events (skipping them via an internal flag), which seems to be what use cases want (as otherwise each client or ext has to ... | diff --git a/api/docs/release.dox b/api/docs/release.dox
index 88c0b6ffd4..af8b93bdd0 100644
--- a/api/docs/release.dox
+++ b/api/docs/release.dox
@@ -185,6 +185,8 @@ Further non-compatibility-affecting changes include:
-trace_instr_intervals_file, or -retrace_every_instrs. If -retrace_every_instrs is
also enab... | 6 | 5 | 1 | [{"id": "G0", "claim": "The loop-bound check added to silence the array-bounds false positive does not work on RISCV, leaving that build failing; the author asks for suggestions for another way to solve it short of disabling the warning altogether.", "category": "correctness", "verdict": "supported", "priority": "P0", ... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.