<div dir="ltr">Thanks! I was a bit confused that all the files I had looked at had the same value, regardless. My error was that I didn't think that the value depends on the code actually in that module. Checking for example maps.beam gives a different value.<div><br></div><div>So now I only have to find out if there is a table mapping the max opcode value to the beam runtime version.<br><div><br></div><div>best regards,</div><div>Vlad</div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 28, 2016 at 1:32 PM, Constantin Rack <span dir="ltr"><<a href="mailto:constantin@rack.li" target="_blank">constantin@rack.li</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span class="">The BEAM format number and the number of the highest opcode are stored in the code chunk:<br><a href="https://github.com/erlang/otp/blob/master/erts/emulator/beam/beam_load.c#L1714-L1757" target="_blank">https://github.com/erlang/otp/blob/master/erts/emulator/beam/beam_load.c#L1714-L1757</a><br><br>-Constantin<div><br></div></span><div><br><div><span class=""><div>Am 28.02.2016 um 12:53 schrieb Vlad Dumitrescu:</div><br></span><blockquote type="cite"><div><div class="h5"><div dir="ltr">Hi!<div><br></div><div>Is there some information in the beam files that would identify the compatibility with the current runtime, or is it only when trying to execute incompatible code that it is detected?</div><div><br></div><div>best regards, </div><div>Vlad</div><div><br></div></div></div></div><span class="">
_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br><a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br></span></blockquote></div><br></div></div><br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>