Jump to content

PureAutoIt machine code compiler small executable


ghost911
 Share

Recommended Posts

look good I already use memory with 

bytes = ReadData (0, * MemoryID, length)

after with :

Hex(PeekB (*MemoryID+I)
Your method will not work with CopyMemoryString because if you want to read a binary file as an executable it will not work

Ā 

Ā 

Ā 

Ā 

Ā 

Ā 

Ā 

Edited by ghost911
Link to comment
Share on other sites

TempsDepart.q = ElapsedMilliseconds()
If ReadFile(0,"test.exe")
    length = Lof(0)
    *MemoireID = AllocateMemory(length*8) 
  While Eof(0) = 0 
    String.s=Hex(ReadByte(0),#PB_Byte)
    CopyMemoryString(String,@*MemoireID)
  Wend
  CloseFile(0)
  Byte=MemoryStringLength(*MemoireID-length)
  Debug Byte
  
  Debug PeekS (*MemoireID-Byte)
  Else
    MessageRequester("Info","Not open")
  EndIf
TempsEcoule.q = ElapsedMilliseconds()-TempsDepart  ; La valeur 'TempsEcoule' devrait ĆŖtre d'environ 1000 millisecondes
Debug "Temps ƩcoulƩ : "+Str(TempsEcoule)+" millisecondes"

Ā 

Ā 

here is the method 2 faster than the first but the problem I can not point to the beginning of the file in memory

Link to comment
Share on other sites

I am trying to understand your endgoal. Full AutoIt language compiled?
Just a subset of AutoIt commands/functions?

  • Portability on windows, linux, max? How far?
  • Support COM? objCreate?
  • DLLCall?
  • Sendmessage?
  • ....

Probably easier to make an AutoIt compiler based on C#

Link to comment
Share on other sites

Purebasic supports linux and windows compatible yes we will try to compile the best possible according to our means and our capacities we will try to do the maximum so that it looks like autoIt even if it will not be perfect we try already with windows this is a challenge we will try to do functions little by little
the C# language is not really compile there is decompiler that exists it's not machine code

Ā 

this is a challenge we will try to do functions little by little

Ā 

Ā 

Ā 

this is a challenge we will try to do functions little by little Ā 

Ā 

Ā 

Ā 

Edited by ghost911
Link to comment
Share on other sites

  • Developers

@ghost911

This is the last time I am going to request to remove the compiled AutoIt3 script from your PureAutoItInclude.rar distribution file.
We have now multiple times explained why we don't want compiled AutoIt3 scripts in a attached file and it doesn't serve any purpose.Ā 
Failing to do so will get your topic banned from this site.

Jos

Ā 

SciTE4AutoIt3 Full installer Download page Ā  -Ā Beta filesĀ  Ā  Ā  Ā Read before postingĀ  Ā  Ā How to post scriptsourceĀ Ā Ā Forum etiquetteĀ  Forum RulesĀ 
Ā 
Live for the present,
Dream of the future,
Learn from the past.
Ā  :)

Link to comment
Share on other sites

  • Developers

as stated in the PM I just send:

Quote

No problem, butĀ we have tried to explain to you multiple times that AutoIt3 compiled scripts can be flagged as malicious file due to wrong AV detection methods and can also cause Google to list the website as malicious and blocking you... as you have noticed yourself, right?Ā  So we obviously don't want that to happen to our forum!Ā 

There is No need whatsoever to include any EXE in this case as people can compile both the AutoIt3 script and the Powerbasic script themselves!

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page Ā  -Ā Beta filesĀ  Ā  Ā  Ā Read before postingĀ  Ā  Ā How to post scriptsourceĀ Ā Ā Forum etiquetteĀ  Forum RulesĀ 
Ā 
Live for the present,
Dream of the future,
Learn from the past.
Ā  :)

Link to comment
Share on other sites

  • Developers

Thanks, and do us all another favor and use the standard forum font when writing post and only change words that require emphasis. ;)

JosĀ 

SciTE4AutoIt3 Full installer Download page Ā  -Ā Beta filesĀ  Ā  Ā  Ā Read before postingĀ  Ā  Ā How to post scriptsourceĀ Ā Ā Forum etiquetteĀ  Forum RulesĀ 
Ā 
Live for the present,
Dream of the future,
Learn from the past.
Ā  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...