All URIs are relative to https://api.reveng.ai
| Method | HTTP request | Description |
|---|---|---|
| GetXrefByVaddr | Get /v2/analyses/{analysis_id}/xrefs/{vaddr} | [Beta] Look up xrefs by virtual address |
BaseResponseXrefResponse GetXrefByVaddr(ctx, analysisId, vaddr).Execute()
[Beta] Look up xrefs by virtual address
package main
import (
"context"
"fmt"
"os"
revengai "github.com/RevEngAI/sdk-go/v3"
)
func main() {
analysisId := int32(56) // int32 |
vaddr := int32(56) // int32 | Virtual address to match against xrefs
configuration := revengai.NewConfiguration()
apiClient := revengai.NewAPIClient(configuration)
resp, r, err := apiClient.AnalysesXRefsAPI.GetXrefByVaddr(context.Background(), analysisId, vaddr).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AnalysesXRefsAPI.GetXrefByVaddr``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetXrefByVaddr`: BaseResponseXrefResponse
fmt.Fprintf(os.Stdout, "Response from `AnalysesXRefsAPI.GetXrefByVaddr`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| analysisId | int32 | ||
| vaddr | int32 | Virtual address to match against xrefs |
Other parameters are passed through a pointer to a apiGetXrefByVaddrRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]