eGospodarka.pl
eGospodarka.pl poleca

eGospodarka.plGrupypl.comp.programmingcode for flushing imports to .idata in exe › code for flushing imports to .idata in exe
  • Data: 2017-08-19 15:22:44
    Temat: code for flushing imports to .idata in exe
    Od: fir <p...@g...com> szukaj wiadomości tego autora
    [ pokaż wszystkie nagłówki ]

    I think i need some code that would work like
    that

    AddImportsForModule("KERNEL32.DLL", "ExitProcess", "GetModuleHandleA",
    "GetProcAddress");

    AddImportsForModule("msvcrt.dll", "fopen", "free", "printf", "exit", "fclose",
    "fread");



    well maybe it would be more like

    char* import_names[] = {"fopen", "free", "printf", "exit", "fclose", "fread");

    AddImportsForModule("msvcrt.dll", import_names);

    but this is detail

    the code just need to build binary block of .idata section that i can flush to exe
    file
    when flushing exe to disk in my assembler

    im howewer a bit confused how weirdly this .idata binary is build, so maybe some
    hints on that?

    btw some best info i found on this topic is here

    https://github.com/macton/x64-fasm-examples/blob/mas
    ter/Windows/00_BasicOS/00_pe_return_03.asm

    or around here, so if someone would like to focus on this and give me some hints may
    use it

    tnx

Podziel się

Poleć ten post znajomemu poleć

Wydrukuj ten post drukuj


Następne wpisy z tego wątku

Najnowsze wątki z tej grupy


Najnowsze wątki

Szukaj w grupach

Eksperci egospodarka.pl

1 1 1

Wpisz nazwę miasta, dla którego chcesz znaleźć jednostkę ZUS.

Wzory dokumentów

Bezpłatne wzory dokumentów i formularzy.
Wyszukaj i pobierz za darmo: