save progress
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// Copyright (c) StellaOps. All rights reserved.
|
||||
// Licensed under AGPL-3.0-or-later. See LICENSE in the project root.
|
||||
|
||||
using StellaOps.BinaryIndex.Disassembly;
|
||||
using StellaOps.BinaryIndex.Normalization;
|
||||
|
||||
namespace StellaOps.BinaryIndex.DeltaSig;
|
||||
@@ -49,4 +50,24 @@ public interface IDeltaSignatureGenerator
|
||||
string symbolName,
|
||||
string scope,
|
||||
SignatureOptions? options = null);
|
||||
|
||||
/// <summary>
|
||||
/// Generates a signature for a single symbol with optional semantic analysis.
|
||||
/// </summary>
|
||||
/// <param name="normalized">The normalized function with instructions.</param>
|
||||
/// <param name="symbolName">Name of the symbol.</param>
|
||||
/// <param name="scope">Section containing the symbol.</param>
|
||||
/// <param name="originalInstructions">Original disassembled instructions for semantic analysis.</param>
|
||||
/// <param name="architecture">CPU architecture for IR lifting.</param>
|
||||
/// <param name="options">Generation options.</param>
|
||||
/// <param name="ct">Cancellation token.</param>
|
||||
/// <returns>The symbol signature with CFG metrics and optional semantic fingerprint.</returns>
|
||||
Task<SymbolSignature> GenerateSymbolSignatureAsync(
|
||||
NormalizedFunction normalized,
|
||||
string symbolName,
|
||||
string scope,
|
||||
IReadOnlyList<DisassembledInstruction> originalInstructions,
|
||||
CpuArchitecture architecture,
|
||||
SignatureOptions? options = null,
|
||||
CancellationToken ct = default);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user