MCPcopy Create free account
hub / github.com/ararog/Unrar4iOS / ExecuteCode

Method ExecuteCode

Unrar4iOS/unrar/unpack.cpp:858–867  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

856
857
858void Unpack::ExecuteCode(VM_PreparedProgram *Prg)
859{
860 if (Prg->GlobalData.Size()>0)
861 {
862 Prg->InitR[6]=(uint)WrittenFileSize;
863 VM.SetLowEndianValue((uint *)&Prg->GlobalData[0x24],(uint)WrittenFileSize);
864 VM.SetLowEndianValue((uint *)&Prg->GlobalData[0x28],(uint)(WrittenFileSize>>32));
865 VM.Execute(Prg);
866 }
867}
868
869
870void Unpack::UnpWriteArea(unsigned int StartPtr,unsigned int EndPtr)

Callers

nothing calls this directly

Calls 3

SetLowEndianValueMethod · 0.80
ExecuteMethod · 0.80
SizeMethod · 0.45

Tested by

no test coverage detected