Hi,
I have to homologate my binaries so I need them to be byte-per-byte
identical after each compilation (if the source code is the same,
logically). Does anybody know how to achieve that with either compiler
options or modifying some parts of the binaries?
After some research I've succesfully patched:
- timestamp: in 0x88 address, I have set to zero.
- GUID after <PrivateImpleme ntationDetails> : find this text in file
and set GUID to zero.
but there is an unknown data block after what I supose to be the
strings declarations and I don't know what to do with. In some cases,
setting it to 0's works but in other application hangs. I cannot find
a generic way to clean it.
I need to do that automatically for generic binaries of .NET.
Thanks in advance. 5 2170
Hi, I belong to the same development group that tararot2.
Our software must be homolagated by an external company because of
some legislation of our business sector.
The aplicattions we make go to an specific hardware.
The homologation company compiles our code, build the binaries and
homolagates a "crc" of the result.
At this point we could use this binaries that they compiled to be
distributed to this specific hardware but the problems comes in the
future. If a customer report a minor error we have to be able to fix
it, build the binaries, send the result to our customer and after that
send the code to homologate again. The binaries the homolagation
builds must be the same that what we send to our customer.
Now we're trying to achive our goal using mono-cecil.
Thanks in advance
You are right but if there is a bug and I can generate always the
sames binaries, I can fix it and send the binary to my customer in
only one day. If I fix the error, send it to homologate and wait until
the homologation company builds the binary, my customer don't get a
fast support from me. Homologation can be very slow.
It's "just" a question of time. Very important for us and our
customers.
Right. In that case, I don't think the question as originally asked
would actually help you. It doesn't help for you to be able to rebuild
the same source to the same binaries multiple times if the homologating
company then uses a different mechanism to compile your code.
This is not a problem. We provide the compiler and method of
compilation to the homologation company. They first validate the
method of compilation.
Now, three questions arise:
1) If you send the same source to the homologating company twice, do
*they* end up with the same binaries?
2) Are they happy to share their homologation methods with you?
1 and 2 -Yes, because of my prior explanation.
3) If you can produce the same binary as the homologation company,
doesn't that defeat the purpose of the legislation? I would expect the
point to be similar to crypto-signing - e.g. to guarantee that the
homologation company has the original source code.
No, because we must explain what we have post changed in the binary
and they validate the method. The don't have to believe in what we
say, they can check the method.
I'm sure this is the way we must do things. The problem is that this
is our first project with C#. Before, with C++ we only had to clear
the timestamp of the binary.
Thanks for your time.
On 13 mar, 15:36, "Ben Voigt [C++ MVP]" <r...@nospam.no spamwrote:
Legislation of business sector probably means this is an electronic voting
machine, although there could be similar requirements in other markets.
It's not for a voting system. It's a multiplayer casino-like game
machine.
Ok, all clear now.
Thank you very much Jon. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Christopher Subich |
last post by:
From the documentation, it looks like DParser-python will do what I
need, but I'm having trouble getting it installed properly. I'm using a
win32 environment, with official 2.4 Python binaries.
The official DParser for Python win32 binaries
(staff.washington.edu/sabbey/dy_parser) fail, saying that I don't have
Python 2.3 installed. :/
Compling the source on cygwin (with -mno-cygwin) succeeds in
compilation, but then attempting to...
|
by: conradwt |
last post by:
Hi, could someone tell me where I can find the Linux binaries to
install on a hosting account? It would also be GREAT if an installer
comes with the distribution. At this time, my client as purchased
hosting from a company that does have anything installed and wants to
bill for everything that they need to do the account. Thus, I would
like to avoid them because I don't have confidence in their ability to
get it done. Thus, if anyone...
|
by: stuart Dee |
last post by:
Hi,
When I upload my binaries or aspx is there any way to auto recompile or
compile them all before i start the application
Tia
|
by: Kent Tenney |
last post by:
Howdy,
I'm using Python 2.4 on W2K
I would love to use the tools at
http://cddb-py.sourceforge.net/
the newest Win binaries are for Python 2.0
The dll won't load, I assume this is
due to version mismatch.
|
by: source |
last post by:
I have few binaries (dll) that I use within my project.
I also have sourcecode for those dlls.
What I am trying to achieve is when I want to step into or View defination
(option you get in the context menu of Visual Studio when you highlight and
right click on an API)
of a particular API that belongs to the dll.
Is there anyway I can create a dll which will allow me to do that?
As I mentioned I have the source code of the dll.
I CANNOT...
| |
by: Steven Bethard |
last post by:
Jean-Paul Calderone <exarkun@divmod.comwrote:
Interesting. Could you give a few illustrations of this? (I didn't run
into the same problem at all, so I'm curious.)
Steve
|
by: seth.northrop |
last post by:
Hi,
I get this error with the new PHP PDF Binaries:
http://pecl.php.net/bugs/bug.php?id=9491&edit=1
And I've attempted to do the workaround (install a newer PDFLib
binary). That fixes the problem, but, I only see binaries for the
commercial version of the PHP linked PDFLib.dll which I don't need and
which drops the watermark on the page.
|
by: WebSnozz |
last post by:
I would like to add my binaries from the Release directory of several
projects to source safe. My hope is that I can get latest, build the
project, and then check-in so that the binaries are updated in source
safe, and then can be used by others who are creating installers from
those release binaries.
I can add the files directly through the source safe client, but I
prefer to use the VSS features through the VS IDE.
If I add the...
|
by: Robin Becker |
last post by:
A user reports problems with one of our extensions when running the
intel compiled extension on ppc and vice versa. He is building the
extension as a universal binary. Although the intel compiled version
runs fine it displays a known bug when run on a ppc.
It appears we have an endianness dependency which is statically compiled
into the binaries.
One proposed fix is to make the endian variable code dynamically change
at run time. ...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |