Hi,

>From what I have read if you're adding a largish section of code it's
better to make a small modification to the code segment which will load
your new code out of the data segment into rwx memory.

There's a great article on Phrack that pancake wrote that explains some of
the things you can do to achieve this.

Phrack 66: manual binary mangling with radare

http://www.phrack.org/issues.html?issue=66&id=14

Cheers,
Pete

On 6 January 2012 03:35, Rafael de Oliveira Costa <
[email protected]> wrote:

> Hi,
>
> I don't know if here is the right place to ask this but I would like to
> know if radare2 can help me to add instructions on text segment of a
> program. I know that this task can cause problems.
>
> I've looked resize command of radare2 and I can insert bytes but this
> bytes are inserted in data segment.
>
> Rafael de Oliveira Costa, M.Sc. Student
> PPGI - UFRJ
> Rio de Janeiro, RJ, Brazil
> http://www.labnet.nce.ufrj.br
> "If the doors of perception were cleansed every thing would appear to man
> as it is, infinite", William Blake
>
>
>
> _______________________________________________
> radare mailing list
> [email protected]
> http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org
>
>
_______________________________________________
radare mailing list
[email protected]
http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org

Reply via email to