Search found 72 matches

by X512
Mon Feb 15, 2021 7:48 pm
Forum: Components Support
Topic: PE Decoder: executable files analyse framework
Replies: 2
Views: 8238

Re: PE Decoder: executable files analyse framework

Star button at GitHub.
by X512
Sun Feb 14, 2021 3:56 am
Forum: Components Support
Topic: PE Decoder: executable files analyse framework
Replies: 2
Views: 8238

PE Decoder: executable files analyse framework

I published my executable analyze and disassemble framework internally called "PE Decoder" (because Windows PE executables was implemented first). It supports following executable formats: NE (executable format of 16 bit Windows) PE (executable format in modern Windows and UEFI) ELF (UNIX-...
by X512
Sat Feb 06, 2021 8:06 am
Forum: Bug
Topic: COM reference leak when procedure trapped
Replies: 3
Views: 10681

Re: COM reference leak when procedure trapped

Something like this should be generated by compiler to solve issue (code is functional): MODULE A; IMPORT S := SYSTEM, W := WinApi, COM, Log := StdLog; CONST ExceptionContinueExecution = 0; ExceptionContinueSearch = 1; ExceptionNestedException = 2; ExceptionCollidedUnwind = 3; EXCEPTION_UNWINDING = ...
by X512
Tue Feb 02, 2021 12:35 pm
Forum: Bug
Topic: COM reference leak when procedure trapped
Replies: 3
Views: 10681

COM reference leak when procedure trapped

Test code: MODULE A; IMPORT COM, Log := StdLog; TYPE Object = POINTER TO RECORD (COM.IUnknown) END; PROCEDURE (o: Object) RELEASE; BEGIN Log.String("Object.RELEASE"); Log.Ln; END RELEASE; PROCEDURE (o: Object) FINALIZE; BEGIN Log.String("Object.FINALIZE"); Log.Ln; END FINALIZE; P...
by X512
Mon Dec 14, 2020 1:02 am
Forum: Common questions
Topic: source code
Replies: 13
Views: 15646

Re: source code

As I remember, Peter Kushnir made analysis for compatibility of BlackBox with Qt several years ago. So he said, that this will not have positive outcome, because Qt works like framework with hidden internal loop with it's own garbage collector etc. And there is no access to lowlevel Qt framework me...
by X512
Thu Dec 03, 2020 3:39 am
Forum: Hershel
Topic: Hershel 64-bit compiler
Replies: 22
Views: 43382

Re: Hershel 64-bit compiler

For such cases, I envision Herschel backend will provide additional fixup information at the request of the binder. Probably something like: Code segment for 64 bit modules do not contains relocation chains and can be directly executed if proxy segment is not moved. So we can change link address me...
by X512
Wed Dec 02, 2020 2:28 pm
Forum: Hershel
Topic: Hershel 64-bit compiler
Replies: 22
Views: 43382

Re: Hershel 64-bit compiler

adimetrius wrote:Edit: Have done, added ChartViews.
Last commit is still 7 days ago. "ChartViews" is not found in repository. Have you done "git push"?
by X512
Wed Dec 02, 2020 2:26 pm
Forum: Hershel
Topic: Hershel 64-bit compiler
Replies: 22
Views: 43382

Re: Hershel 64-bit compiler

First, the OCF format is great - I like it much better than the ELF, had to study both in the last 5 weeks. Second, While we can preserve the overall OCF file structure, some things in it will still have to change. The reason is that OCF holds the image for the metadata, and that hold pointers, and ...
by X512
Wed Dec 02, 2020 9:35 am
Forum: Hershel
Topic: Hershel 64-bit compiler
Replies: 22
Views: 43382

Re: Hershel 64-bit compiler

Can someone explain 64 bit OCF use block format? It's format is incompatible with regular fixups. Also why first empty record is needed in proxy block?

It will be nice to have 64 bit OCF documentation.
by X512
Sun Nov 08, 2020 2:50 am
Forum: Bug
Topic: Procedure pointers in stack are not initialized
Replies: 2
Views: 7917

Re: Procedure pointers in stack are not initialized

Proposed fix is confirmed A.Do [00000057H] .p ARRAY 16 OF PROCEDURE [0] PROCEDURE A.Proc1 [1] PROCEDURE A.Proc2 [2] PROCEDURE A.Proc3 [3] PROCEDURE NIL [4] PROCEDURE NIL [5] PROCEDURE NIL [6] PROCEDURE NIL [7] PROCEDURE NIL [8] PROCEDURE NIL [9] PROCEDURE NIL [10] PROCEDURE NIL [11] PROCEDURE NIL [1...