💾 Archived View for gemini.susa.net › FPGA_Tang_Anlogic_Crack.gmi captured on 2022-07-16 at 13:42:45. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

-=-=-=-=-=-=-

Anlogic FPGA Toolchain, License crack

For using the Anlogic FPGA toolchain if the license expires (so you don't have to keep on going back to beg for more hobbyist years!).

Compile a shared object to override the time() function.

RUN-1001 : Open license file /home/ubuntu/project/Tang/rel190228r4.4.433RHEL/license/Anlogic.lic
RUN-8418 ERROR: License expired!

hook.c  
------------
typedef long time_t;
time_t time(time_t * ptr){
    if(ptr)
        *ptr=0;
    return 0;
}

Compile
------------
gcc -fpic -shared hook.c -o hook.so

Run
------------
export LD_PRELOAD=$PWD/hook.so
./td -gui

Souroce link (Chinese)