summaryrefslogtreecommitdiff
path: root/plugins/dalvik/context.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-09-27 23:08:50 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-09-27 23:08:50 (GMT)
commit641761e51672fa33f27acdcdb40b46b506ab07dc (patch)
tree8db1ce412b87f0217b250ff371ebcc51ab3905cf /plugins/dalvik/context.c
parenta5cd93644fbb16dfc181f630b1c8d739fdc685fb (diff)
Replace interface by inheritance for binary content objects.
Diffstat (limited to 'plugins/dalvik/context.c')
-rw-r--r--plugins/dalvik/context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/dalvik/context.c b/plugins/dalvik/context.c
index b08678c..9cf878b 100644
--- a/plugins/dalvik/context.c
+++ b/plugins/dalvik/context.c
@@ -373,7 +373,7 @@ bool g_dalvik_context_register_array_data_padding(GDalvikContext *ctx, const vmp
* *
******************************************************************************/
-GArchInstruction *g_dalvik_context_get_raw_data(GDalvikContext *ctx, const GBinContent *content, vmpa2t *pos)
+GArchInstruction *g_dalvik_context_get_raw_data(GDalvikContext *ctx, GBinContent *content, vmpa2t *pos)
{
GArchInstruction *result; /* Instruction à retourner */
raw_data_area *found; /* Zone de couverture trouvée */
@@ -390,7 +390,7 @@ GArchInstruction *g_dalvik_context_get_raw_data(GDalvikContext *ctx, const GBinC
if (found)
{
- restricted = g_restricted_content_new_ro(content, &found->range);
+ restricted = g_restricted_content_new(content, &found->range);
length = get_mrange_length(&found->range);
count = length / found->item_len;