[Reverse] Make C++ classes for functions such as shrinking, stretching, adding sections, and writing text to the PE structure.

I was so busy yesterday that I thought that if I need to re-write the complete PE structure every time I complete the homework, such as shrinking, enlarging, writing files and other functions, it would be really difficult for me, an elderly person, so I did it yesterday It took a lot of effort and […]

2.11 PE structure: adding new sections

In an executable PE file, a section is one of the components of the file and is used to store specific types of data. Each section has specific functions and attributes. Generally speaking, a normal program will generate some fixed sections after being created by the compiler. By organizing data in different sections, the executable […]

Oracle table joins (inner joins, outer joins (left joins, right joins), implicit joins, table unions, table intersections, table complements)

Oracle table join, inner join, outer join (left join, right join, full join), implicit join, table union, table intersection, table complement 1. Inner join inner join 1.The difference between and and where 2. Inner association implicit writing method (Oracle proprietary) 3. Cross connection–Cartesian product connection in conclusion: 2. Outer connection 1. left join left join […]

Use gcc parameter -Wl,–gc-sections, do not link unused functions, reduce executable file size

Background When developing a project, a lot of third-party .a static library files are used, resulting in a very large compiled executable file. One is to occupy ROM space, and the other is to slow down the program startup and loading speed (the project is very sensitive to startup time). In fact, not all the […]

The meaning of ratio in LineSegmentIntersector::Intersections and the description of intersection points of LineSegmentIntersector

osg uses the LineSegmentIntersector and IntersectionVisitor classes in the osgUtil library to find the intersection of the line segment and the 3D model The following code: #include <QtCore/QCoreApplication> #include <osgViewer/Viewer> #include <osgViewer/ViewerEventHandlers> #include <osgViewer/CompositeViewer> #include <osgUtil/IntersectionVisitor> #include <osgUtil/LineSegmentIntersector> #include <iostream> //create box osg::ref_ptr<osg::Geode> createBox() { osg::ref_ptr<osg::Geode> geode1 = new osg::Geode; auto box1 = new osg::ShapeDrawable(new […]

[Solved] OpenGL assimp library, compile ‘File too big’, ‘too many sections’, error in IFCReaderGen.cpp

Configuring the Assimp library (MinGW compiler) in the QT environment (48 messages) Configure the Assimp library (MinGW compiler) in the QT environment – Elsa’s blog – CSDN Blog Error too many sections reported in IFCReaderGen.cpp As shown below: At this point, you need to add the following instructions to the CMakeLists.txt file: set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} “-O3”) […]