From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Library:AngelScript" |
|---|
| claim | "AngelScript 2.38.0: asGetLibraryVersion() returns ANGELSCRIPT_VERSION_STRING "2.38.0" (with " DEBUG" appended in debug builds), so the string "2.38.0" is in the library; ANGELSCRIPT_VERSION 23800 (0x5CF8) is the default argument the application passes to asCreateScriptEngine(asDWORD version), so it is found in the calling code, while the library only compares version/10000, (version/100)%100 and version%100 against constants. The header declares 19 AS_API functions led by asCreateScriptEngine, asGetLibraryVersion and asGetLibraryOptions (asGetLibraryOptions returns a string of the AS_* build options)." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:AngelScript" |
|---|
| observed_in | |
|---|
|
|---|
| data | | method | "version string in the library; constant passed to asCreateScriptEngine in the application" |
|---|
| indicator | ""2.38.0" (library); 23800 (0x5CF8) as argument in application code; asGetLibraryOptions strings such as AS_MAX_PORTABILITY" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "ANGELSCRIPT_VERSION and _STRING defines; asCreateScriptEngine default argument; asGetLibraryVersion/Options declarations" |
|---|
| repo | "https://github.com/codecat/angelscript-mirror" |
|---|
| commit | "c81df254037524b18cd41a57805cfec76acd05bf" |
|---|
| path | "sdk/angelscript/include/angelscript.h" |
|---|
| lines | "61-62, 566-568" |
|---|
|
| type | "source" |
|---|
| detail | "asCreateScriptEngine checks (version/10000), ((version/100)%100) and (version%100) against ANGELSCRIPT_VERSION parts; asGetLibraryVersion returns ANGELSCRIPT_VERSION_STRING (+ " DEBUG" under _DEBUG); angelscript.h has 19 AS_API function declarations (the other AS_API lines are macro definitions)" |
|---|
| repo | "https://github.com/codecat/angelscript-mirror" |
|---|
| commit | "c81df254037524b18cd41a57805cfec76acd05bf" |
|---|
| path | "sdk/angelscript/source/as_scriptengine.cpp" |
|---|
| lines | "71-80, 233-243" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T11:35:22.303Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T03:49:56.099Z" |
|---|
| result | "confirmed" |
|---|
| method | "Re-checked the correction at the cited commit: angelscript.h has 19 indented AS_API declarations (6 more AS_API lines are #define), version 23800 / "2.38.0", asCreateScriptEngine default argument; as_scriptengine.cpp compares version/10000, /100%100, %100 and asGetLibraryVersion appends " DEBUG" under _DEBUG." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T02:39:13.974Z" |
|---|
| summary | "Export count was wrong (25 counted the AS_API macro definitions): angelscript.h declares 19 AS_API functions. Also 23800 is the value the calling application passes; the library itself folds the…" |
|---|
| changed | | "claim" |
| "data" |
| "evidence" |
|
|---|
|
|
|---|