dynamorio
dynamorio copied to clipboard
Dynamic Instrumentation Tool Platform
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. Replaces the drpttracer_start_tracing() and drpttracer_end_tracing() with drpttracer_create_tracer(),...
Add RISC-V implementation of most atomic functions. Several are left unimplemented (the exchange variants), only containing a non-atomic logic as a reminder of what the given function should do. Issue:...
Add stubs to get the IR related code to compile. Most of the code is non-functional, with exception of the register name list. Issue: #3544 Signed-off-by: Stanislaw Kardach
Add definitions required for extensions to compile for RISC-V. NOTE: This code is not validated and mostly contains stubs as the main point was to achieve compilation and estimate the...
**Describe the bug** drcov fails with - `Internal Error: DynamoRIO debug check failure: D:\a\dynamorio\dynamorio\core\win32\module.c:4760 is_readable_pe_base(module_base)` (64 bit) - `Error opening instrumentation library C:\UserProgs\DynamoRIO-Windows\tools\lib32\release\drcov.dll` (32-bit) The underlying issue seems to be...
As discussed in a [RISC-V related pull request](https://github.com/DynamoRIO/dynamorio/pull/5588#discussion_r938212368), none of the `dr_mcontext_flags_t` flags cause the floating point control and status registers to be saved/restored. I have a similar case where...
env: win7 sp1 x32 cmd: C:\dynamorio-release_9.0.1\build32>bin32\drrun.exe notepad.exe ERROR: unable to inject: exec of |(null)| failed
RISC-V does not have condition codes. Instead all conditional branches are arithmetic register comparison based and those are also used for overflow checking. Therefore remove the xflags field so that...
I went to check that we generate all fields for all architectures for dr_mcontext_t and found that only size and flags are listed: https://dynamorio.org/struct__dr__mcontext__t.html
This happened once: http://139.178.82.61:8080/job/DynamoRIO-AArch64-Precommit/1574/consoleFull ``` 71/79 Test #227: code_api|tool.drcacheoff.windows-zlib ...........................***Failed 0.63 sec Running cmd |/var/lib/jenkins/workspace/DynamoRIO-AArch64-Precommit/build/build_release-external-64/bin64/drrun;-s;90;-quiet;-killpg;-stderr_mask;0xC;-dumpcore_mask;0;-code_api;-t;drcachesim;-offline;-subdir_prefix;tool.drcacheoff.windows-zlib;-raw_compress;zlib;-no_split_windows;-trace_after_instrs;20K;-trace_for_instrs;5K;-retrace_every_instrs;35K;--;/var/lib/jenkins/workspace/DynamoRIO-AArch64-Precommit/build/build_release-external-64/suite/tests/bin/simple_app| Running postcmd |/var/lib/jenkins/workspace/DynamoRIO-AArch64-Precommit/build/build_release-external-64/clients/bin64/drcachesim;-indir;/var/lib/jenkins/workspace/DynamoRIO-AArch64-Precommit/build/build_release-external-64/suite/tests/tool.drcacheoff.windows-zlib.simple_app.2994852.1587.dir;-simulator_type;basic_counts| CMake Error at /var/lib/jenkins/workspace/DynamoRIO-AArch64-Precommit/suite/tests/runmulti.cmake:106 (message): *** postcmd failed (Segmentation fault): *** Call...