Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Белов Никита Сергеевич
libakrypt-stb34
Commits
a346aff3
Commit
a346aff3
authored
5 months ago
by
alex
Browse files
Options
Download
Patches
Plain Diff
Добавлен вызов с переменной длиной
parent
e29a6f09
master
dev
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aktool/aktool_icode_evaluate.c
+7
-2
aktool/aktool_icode_evaluate.c
with
7 additions
and
2 deletions
+7
-2
aktool/aktool_icode_evaluate.c
+
7
−
2
View file @
a346aff3
...
...
@@ -699,7 +699,7 @@
/* сравниваем значения */
if
(
kp
->
value_length
==
ki
->
size
+
8
)
iptr
=
(
kp
->
data
+
kp
->
key_length
+
8
);
else
{
/* здесь обрабатываем обычные файлы */
else
{
/* здесь обрабатываем обычные
(не elf)
файлы */
if
(
ki
->
curmem
.
offset
==
0
)
{
iptr
=
(
kp
->
data
+
kp
->
key_length
);
...
...
@@ -850,7 +850,12 @@
error
=
ak_error_message_fmt
(
ak_error_htable_key_not_found
,
__func__
,
_
(
"process: %d, link to non-controlled file %s"
),
ki
->
pid
,
filename
);
}
else
error
=
aktool_icode_check_maps_segment
(
fp
.
size
,
kp
,
ki
);
else
{
ak_int64
tmp
;
if
(
ki
->
curmem
.
offset
!=
0
)
tmp
=
fp
.
size
-
ki
->
curmem
.
offset
;
else
tmp
=
fp
.
size
;
error
=
aktool_icode_check_maps_segment
(
tmp
,
kp
,
ki
);
}
}
else
{
/* формируем строку для поиска */
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets