Skip to content
SuessLabsPublic
forked from morluto/rea

About

Improved Reverse Engineer Anything (C#) with agents, from app behavior down to native binaries. Build in C# with SUPER-CHARGED Performance over NodeJS

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

 
 

Latest commit

 

History

3,305 Commits

Folders and files

Repository files navigation

REA-SHARP — C# / .NET 10

Reverse Engineer Anything SHARP is a C#/.NET 10 port of REA. Feature coverage and verification limits are documented below; no performance equivalence or improvement is assumed.

Install from this checkout with the C# installer.

Upstream synchronization

The upstream sync record pins the requested range from b3b5c8b through abfccc068. The complete sync remains in progress: the first C# fixes and a two-tool MCP adapter are implemented, while missing upstream provider capabilities remain explicitly pending. No upstream Node/npm implementation is imported. The legacy website now uses C# static publishing: browser-only JavaScript demos are retired with Git recovery records. No JavaScript or TypeScript source files remain in the working tree (excluding Git/build artifacts).

See C# MCP and configuration setup for the restored local transport and additive JSON client registration.

Overview

REA-SHARP is a local, read-only executable and managed-assembly inspection tool. The application, automation, experiment runner, tests and fixtures use C#. Building the .NET solution requires only the .NET 10 SDK, with no Node/npm or TypeScript/JavaScript runtime. Restored engine-required Python, Java and Swift sources in bridge are the explicitly approved exception; they require their external engines and are not active C# providers. Configuration, documentation and image assets remain in their appropriate formats.

This is a breaking cutover to a smaller application, not a complete feature-equivalent translation of the previous REA implementation. The legacy runtime and npm packaging remain removed. The docs, agent guides, GitHub workflows, bridge sources and experiment records have been restored and adapted; historical examples are labelled. The available analysis commands are inspect-header and inspect-managed-artifact.

Build, test, and run

Run these commands from the repository root:

dotnet build Rea.slnx --configuration Release
dotnet run --project dotnet/tests/Rea.Tests --configuration Release --no-build
dotnet run --project dotnet/src/Rea.Cli --configuration Release --no-build -- --help
dotnet run --project dotnet/src/Rea.Cli --configuration Release --no-build -- inspect-header /path/to/binary
dotnet run --project dotnet/src/Rea.Cli --configuration Release --no-build -- inspect-managed-artifact /path/to/assembly.dll

On Windows it will install to: C:\Users\USERNAME\.local\share\rea\dotnet-tool\

Execute it via:

C:\Users\USERNAME\.local\share\rea\dotnet-tool\rea.exe" --help

The dependency-free test executable runs the actual assertions; dotnet test is not this repository's verification command. Tests audit the checkout to reject foreign application/orchestration code and legacy manifests, and verify the approved bridge-source receipts. See the C# validation gates for discovery, architecture, documentation, skill, cleanup and installed-package checks.

Supported inspection

  • ELF, PE, thin/universal Mach-O, DOS MZ, and explicitly selected DOS COM headers.
  • Architecture declarations, PE executable roles, CLI declarations, and CodeView symbol references with bounds and malformed-input checks.
  • Managed module and assembly identity, references, embedded-resource hashes, custom-attribute identities, target-framework declarations, metadata table counts, and source row offsets.
  • Derived managed architecture and runtime classification, with observations, limitations, unknowns, cancellation, and memory budgets reported explicitly.

Neither command executes a target or loads its managed assembly. Results are JSON. The header command hashes its retained prefix; the managed command hashes its owned full-file snapshot. Neither establishes an atomic filesystem snapshot. See implementation details and architecture.

Removed functionality

The full legacy MCP command catalog, Evidence/session workflows, deep analysis providers, debugging/instrumentation, browser and Electron workflows, artifact extraction, active platform-specific adapters, provider setup, the former website runtime, and npm distribution are unavailable in this checkout. Managed members, signatures, IL, and native-boundary analysis also remain unavailable. They must be implemented and verified in C# before being advertised again. Engine-side JavaScript agents and generated JavaScript scripts are excluded.

The previous committed implementation is recoverable from Git history at ef250b14442ad99458ef7ba1e59b78c809238675. No legacy source archive is shipped inside the application package. Restored bridge code remains separately under bridge/. CHANGELOG.md records historical releases and does not describe the current supported feature set.

Package locally

dotnet pack dotnet/src/Rea.Cli --configuration Release --no-build --output dotnet/artifacts/packages
dotnet exec dotnet/tests/Rea.Tests/bin/Release/net10.0/Rea.Tests.dll --verify-packages dotnet/artifacts/packages

This produces the local Rea.DotNet.Preview .NET tool package, with command rea. It does not install or publish it. Package tests verify .NET dependencies and reject JavaScript/TypeScript, Node bindings, and bundled test fixtures.

See contribution guidelines, security, responsible use, and license.

Restored development workflows

See current C# automation and restoration status for PR checks, documentation generation, qualified packages and experiment commands. Original provider workflow filenames remain as manual availability gates, which fail explicitly instead of claiming verification. Release qualification produces source-bound .NET artifacts; publication remains gated.

References

This project is a fork of REA at commit b3b5c8b, converting all source code to C# from NodeJS/JavaScript.

REA-SHARP uses master as its core branch instead of main to differientate between the two.

About

Improved Reverse Engineer Anything (C#) with agents, from app behavior down to native binaries. Build in C# with SUPER-CHARGED Performance over NodeJS

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages